| | |
| | | { |
| | | locationProductAmountAPI.POST("add", locationProductAmountController.Add) //添加库存盘点信息 |
| | | locationProductAmountAPI.POST("list", locationProductAmountController.List) //查看库存盘点列表 |
| | | locationProductAmountAPI.POST("locationProductList", locationProductAmountController.LocationProductList) //查看产品库存列表 |
| | | locationProductAmountAPI.POST("update", locationProductAmountController.Update) //修改库存盘点信息 |
| | | locationProductAmountAPI.POST("finish", locationProductAmountController.Finish) //应用、验证库存盘点信息 |
| | | locationProductAmountAPI.POST("getRuleList", locationProductAmountController.GetRuleList) //获取上架规则 |
| | |
| | | dictApi.DELETE("delete/:id", dictController.DeleteMiniDict) //删除字典信息 |
| | | dictApi.POST("save", dictController.SaveMiniDict) //批量保存系统设置 |
| | | dictApi.POST("getDictList", dictController.GetMiniDictList) //获取字典信息列表 |
| | | dictApi.GET("getUserList", dictController.GetUserList) // 获取用户列表 |
| | | } |
| | | |
| | | //系统配置 |
| | |
| | | sysCfgApi.GET("get", sysCfgCtl.GetSystemConfig) //获取系统配置 |
| | | } |
| | | |
| | | //其他 |
| | | otherCtl := new(controllers.OtherController) |
| | | otherApi := r.Group(urlPrefix + "/other") |
| | | { |
| | | otherApi.POST("saveProductImagesFromExcel", otherCtl.SaveProductImagesFromExcel) //从指定路径的excel获取产品编号和图片,上传并保存 |
| | | } |
| | | |
| | | return r |
| | | } |