合并饿鲜达库bug修改

This commit is contained in:
苏尹岚
2020-03-10 11:07:24 +08:00
parent 18e72079c5
commit 182b7dad31
4 changed files with 28 additions and 18 deletions

View File

@@ -747,3 +747,16 @@ func (c *StoreSkuController) ReturnStoreSkuBind() {
return retVal, "", err
})
}
// @Title 物料库存刷新(物料店商品上下架)
// @Description 物料库存刷新(物料店商品上下架)
// @Param token header string true "认证token"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @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)
return retVal, "", err
})
}