创建标品优化,同步物料测试

This commit is contained in:
苏尹岚
2020-04-24 18:15:37 +08:00
parent fe6de10570
commit 59821f19f8
2 changed files with 22 additions and 0 deletions

View File

@@ -798,3 +798,16 @@ func (c *StoreSkuController) CreateSkusAndFocusFromWx() {
return retVal, "", err
})
}
// @Title 同步菜市物料到果园
// @Description 同步菜市物料到果园
// @Param token header string true "认证token"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /SyncMatterC4ToGy [post]
func (c *StoreSkuController) SyncMatterC4ToGy() {
c.callSyncMatterC4ToGy(func(params *tStoreSkuSyncMatterC4ToGyParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.SyncMatterC4ToGy(params.Ctx, true, true)
return retVal, "", err
})
}