+FixMtwmCategory
This commit is contained in:
@@ -333,3 +333,22 @@ func (c *TempOpController) CheckStoreAlert() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 修复美团商品分类(emoji)
|
||||
// @Description 修复美团商品分类(emoji)
|
||||
// @Param token header string true "认证token"
|
||||
// @Param mtwmStoreIDs formData string false "门店列表"
|
||||
// @Param isAsync formData bool false "是否异步操作"
|
||||
// @Param isContinueWhenError formData bool false "单个同步失败是否继续,缺省false"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /FixMtwmCategory [post]
|
||||
func (c *TempOpController) FixMtwmCategory() {
|
||||
c.callFixMtwmCategory(func(params *tTempopFixMtwmCategoryParams) (retVal interface{}, errCode string, err error) {
|
||||
var mtwmStoreIDs []int
|
||||
if err = jxutils.Strings2Objs(params.MtwmStoreIDs, &mtwmStoreIDs); err == nil {
|
||||
retVal, err = tempop.FixMtwmCategory(params.Ctx, mtwmStoreIDs, params.IsAsync, params.IsContinueWhenError)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user