刷新物料店库存,商品上下架

This commit is contained in:
苏尹岚
2020-03-10 13:53:11 +08:00
parent 182b7dad31
commit 171ed76f87
11 changed files with 112 additions and 31 deletions

View File

@@ -756,7 +756,7 @@ func (c *StoreSkuController) ReturnStoreSkuBind() {
// @router /RefreshMatterStock [post]
func (c *StoreSkuController) RefreshMatterStock() {
c.callRefreshMatterStock(func(params *tStoreSkuRefreshMatterStockParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.RefreshMatterStock(params.Ctx, 0)
err = cms.RefreshMatterStock(params.Ctx, 0)
return retVal, "", err
})
}