查找京东商城用户关联的活跃门店

This commit is contained in:
苏尹岚
2019-11-28 08:49:53 +08:00
parent 5cf58c44b0
commit bbc9be5503
5 changed files with 153 additions and 2 deletions

View File

@@ -367,3 +367,18 @@ func (c *TempOpController) JdStoreInfoCoordinateRecover() {
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 /GetJdUsers [post]
func (c *TempOpController) GetJdUsers() {
c.callGetJdUsers(func(params *tTempopGetJdUsersParams) (retVal interface{}, errCode string, err error) {
retVal, err = tempop.GetJdUsers(params.Ctx, params.IsAsync, params.IsContinueWhenError)
return retVal, "", err
})
}