forked from free-lancers/electricity_bill_calc_service
		
	fix(meter):调整路由定义顺序。
This commit is contained in:
		| @@ -21,8 +21,8 @@ func InitializeMeter04kVController(router *fiber.App) { | |||||||
| 	router.Get("/park/:pid/meters", security.EnterpriseAuthorize, ListPaged04kVMeter) | 	router.Get("/park/:pid/meters", security.EnterpriseAuthorize, ListPaged04kVMeter) | ||||||
| 	router.Get("/park/:pid/meter/:code", security.EnterpriseAuthorize, fetch04kVMeterDetail) | 	router.Get("/park/:pid/meter/:code", security.EnterpriseAuthorize, fetch04kVMeterDetail) | ||||||
| 	router.Post("/park/:pid/meter", security.EnterpriseAuthorize, createSingle04kVMeter) | 	router.Post("/park/:pid/meter", security.EnterpriseAuthorize, createSingle04kVMeter) | ||||||
| 	router.Put("/park/:pid/meter/:code", security.EnterpriseAuthorize, modifySingle04kVMeter) |  | ||||||
| 	router.Post("/park/:pid/meter/batch", security.EnterpriseAuthorize, batchImport04kVMeterArchive) | 	router.Post("/park/:pid/meter/batch", security.EnterpriseAuthorize, batchImport04kVMeterArchive) | ||||||
|  | 	router.Put("/park/:pid/meter/:code", security.EnterpriseAuthorize, modifySingle04kVMeter) | ||||||
| } | } | ||||||
|  |  | ||||||
| func download04kvMeterArchiveTemplate(c *fiber.Ctx) error { | func download04kvMeterArchiveTemplate(c *fiber.Ctx) error { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user