This commit is contained in:
suyl
2021-05-24 14:42:20 +08:00
parent 5fe8987522
commit d986be7cad
4 changed files with 125 additions and 82 deletions

View File

@@ -961,3 +961,20 @@ func (c *StoreSkuController) GetStoresSkusForStore() {
return retVal, "", err
})
}
// @Title 复制美团到京东
// @Description 复制美团到京东
// @Param token header string true "认证token"
// @Param mtStoreID formData string true "美团门店ID"
// @Param mtOrgCode formData string true "美团账号"
// @Param jdStoreID formData string true "京东门店ID"
// @Param jdOrgCode formData string true "京东账号"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /CopyMtToJd [post]
func (c *StoreSkuController) CopyMtToJd() {
c.callCopyMtToJd(func(params *tStoreSkuCopyMtToJdParams) (retVal interface{}, errCode string, err error) {
err = cms.CopyMtToJd(params.Ctx, params.MtStoreID, params.MtOrgCode, params.JdStoreID, params.JdOrgCode)
return retVal, "", err
})
}