- 将微信的备注改为店名相关的信息

This commit is contained in:
gazebo
2019-04-11 11:59:04 +08:00
parent ff52db6dd7
commit 6e3b9a8215
8 changed files with 128 additions and 45 deletions

View File

@@ -180,3 +180,18 @@ func (c *InitDataController) PrintMsg() {
return retVal, "", err
})
}
// @Title 刷新微信备注
// @Description 刷新微信备注
// @Param token header string true "认证token"
// @Param isAsync formData bool false "是否异步操作"
// @Param isContinueWhenError formData bool false "单个同步失败是否继续缺省false"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /UpdateAllWeiXinRemark [post]
func (c *InitDataController) UpdateAllWeiXinRemark() {
c.callUpdateAllWeiXinRemark(func(params *tInitdataUpdateAllWeiXinRemarkParams) (retVal interface{}, errCode string, err error) {
retVal, err = tempop.UpdateAllWeiXinRemark(params.Ctx, params.IsAsync, params.IsContinueWhenError)
return retVal, "", err
})
}