平台物料分类
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user