Commit f8becb12 authored by 赵浩琳's avatar 赵浩琳

修改手机号联调问题修复

parent 2fe4623a
...@@ -141,7 +141,7 @@ public class ModifyPhoneNoController implements IBaseController { ...@@ -141,7 +141,7 @@ public class ModifyPhoneNoController implements IBaseController {
* @return * @return
*/ */
@PostMapping("/client/submitModify") @PostMapping("/client/submitModify")
public JsonResult clientSubmitModify(@Valid @RequestBody ModifyPhoneRecord modifyPhoneRecord) { public JsonResult clientSubmitModify(@RequestBody ModifyPhoneRecord modifyPhoneRecord) {
modifyPhoneNoService.clientSubmitModify(modifyPhoneRecord); modifyPhoneNoService.clientSubmitModify(modifyPhoneRecord);
return JsonResult.buildSuccessResult(); return JsonResult.buildSuccessResult();
} }
......
...@@ -411,6 +411,8 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService { ...@@ -411,6 +411,8 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService {
record.setUserId(user.getId()); record.setUserId(user.getId());
record.setApplyStatus(ModifyPhoneNoApplyStatusEnum.DONE.ordinal()); record.setApplyStatus(ModifyPhoneNoApplyStatusEnum.DONE.ordinal());
record.setApplySource(ApplySource.CLIENT); record.setApplySource(ApplySource.CLIENT);
record.setReason(Reason.ABANDONED);
record.setOperator(String.valueOf(user.getId()));
modifyPhoneRecordRepository.saveAndFlush(record); modifyPhoneRecordRepository.saveAndFlush(record);
//登出此用户 //登出此用户
sessionService.deleteByUserId(user.getId()); sessionService.deleteByUserId(user.getId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment