力荐
This commit is contained in:
@@ -896,3 +896,24 @@ func (c *StoreSkuController) StoreSkuPriceAudit() {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 查看美团力荐或京东置顶商品
|
||||
// @Description 查看美团力荐或京东置顶商品
|
||||
// @Param token header string true "认证token"
|
||||
// @Param vendorIDs formData string true "平台ids"
|
||||
// @Param storeIDs formData string true "门店IDs"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetSpecialtyStoreSkus [post]
|
||||
func (c *StoreSkuController) GetSpecialtyStoreSkus() {
|
||||
c.callGetSpecialtyStoreSkus(func(params *tStoreSkuGetSpecialtyStoreSkusParams) (retVal interface{}, errCode string, err error) {
|
||||
var (
|
||||
storeIDs, vendorIDs []int
|
||||
)
|
||||
if err = jxutils.Strings2Objs(params.StoreIDs, &storeIDs, params.VendorIDs, &vendorIDs); err != nil {
|
||||
return retVal, "", err
|
||||
}
|
||||
err = cms.GetSpecialtyStoreSkus(params.Ctx, storeIDs, vendorIDs)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user