实现修改批次绑定的猪栏
This commit is contained in:
@@ -233,6 +233,7 @@ func (a *API) setupRoutes() {
|
||||
pigBatchGroup.GET("/:id", a.pigBatchController.GetPigBatch)
|
||||
pigBatchGroup.PUT("/:id", a.pigBatchController.UpdatePigBatch)
|
||||
pigBatchGroup.DELETE("/:id", a.pigBatchController.DeletePigBatch)
|
||||
pigBatchGroup.PUT("/:id/pens", a.pigBatchController.UpdatePigBatchPens)
|
||||
}
|
||||
a.logger.Info("猪批次相关接口注册成功 (需要认证和审计)")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user