根据名字查询京东upc
This commit is contained in:
@@ -375,3 +375,19 @@ func (c *SkuController) GetStoreSkuSalesInfo() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 根据名字查询京东商品UPC信息
|
||||
// @Description 根据名字查询京东商品UPC信息
|
||||
// @Param token header string true "认证token"
|
||||
// @Param name formData string true "商品名"
|
||||
// @Param pageNo formData int true "页码"
|
||||
// @Param pageSize formData int true "分页大小"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetJdUpcCodeByName [post]
|
||||
func (c *SkuController) GetJdUpcCodeByName() {
|
||||
c.callGetJdUpcCodeByName(func(params *tSkuGetJdUpcCodeByNameParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = cms.GetJdUpcCodeByName(params.Ctx, params.Name, params.PageNo, params.PageSize)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user