平台物料分类

This commit is contained in:
suyl
2021-04-27 10:54:33 +08:00
parent 14f3c29c04
commit 7279c48a10
5 changed files with 56 additions and 0 deletions

View File

@@ -596,3 +596,17 @@ func (c *JobController) GetUnionJobOrderInfo() {
return retVal, "", err
})
}
// @Title 查询平台物料分类
// @Description 查询平台物料分类
// @Param token header string true "认证token"
// @Param vendorID query int true "平台ID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetVendorMatterCategory [get]
func (c *JobController) GetVendorMatterCategory() {
c.callGetVendorMatterCategory(func(params *tJobGetVendorMatterCategoryParams) (retVal interface{}, errCode string, err error) {
retVal, err = dao.GetVendorMatterCategory(dao.GetDB(), params.VendorID)
return retVal, "", err
})
}