pdd 物料详情

This commit is contained in:
suyl
2021-04-27 16:05:51 +08:00
parent db199feb00
commit 37c188ffa7
8 changed files with 76 additions and 0 deletions

View File

@@ -630,3 +630,18 @@ func (c *JobController) GetVendorMatters() {
return retVal, "", err
})
}
// @Title 查询平台物料详情
// @Description 查询平台物料详情
// @Param token header string true "认证token"
// @Param vendorID query int true "平台ID"
// @Param goodsID query string true "平台商品ID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetVendorMatterDetail [get]
func (c *JobController) GetVendorMatterDetail() {
c.callGetVendorMatterDetail(func(params *tJobGetVendorMatterDetailParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.GetVendorMatterDetail(params.Ctx, params.VendorID, params.GoodsID)
return retVal, "", err
})
}