|
|
@ -30,7 +30,7 @@ public class UserController { |
|
|
|
@ApiOperation(value = "根据手机号更新成员的userId",notes = "") |
|
|
|
@ApiImplicitParams({ |
|
|
|
}) |
|
|
|
@RequestMapping(value="/memberWithPhone",method = RequestMethod.GET,produces = {"application/json;charset=UTF-8"}) |
|
|
|
@RequestMapping(value="/memberWithPhone",method = RequestMethod.POST,produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse memberWithPhone(@ApiParam @Validated @RequestBody CMemberDto.PhoneAndUserId params) throws Exception { |
|
|
|
log.info("根据手机号更新成员userId"); |
|
|
|
userService.memberWithPhone(params); |
|
|
@ -40,7 +40,7 @@ public class UserController { |
|
|
|
@ApiOperation(value = "合并用户后修改userId",notes = "") |
|
|
|
@ApiImplicitParams({ |
|
|
|
}) |
|
|
|
@RequestMapping(value="/mergeUser",method = RequestMethod.GET,produces = {"application/json;charset=UTF-8"}) |
|
|
|
@RequestMapping(value="/mergeUser",method = RequestMethod.POST,produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse mergeUser(@ApiParam @Validated @RequestBody CMemberDto.MergeUser params) throws Exception { |
|
|
|
log.info("合并用户后修改userId"); |
|
|
|
userService.mergeUser(params); |
|
|
|