Commit dafc9495 by shenjunjie

新增用户中心注册功能3

parent b7b1c39a
......@@ -64,7 +64,7 @@ public class UserController extends BaseController {
public ResponseResult searchUserDTO(@PathVariable("phoneNumber") long phoneNumber) {
CenterUser centerUser = userInfoClient.getUserByPhone(String.valueOf(phoneNumber));
if (null == centerUser) {
return ResponseResult.failure("无匹配用户");
return ResponseResult.success(null);
}
UserDTO userDTO = new UserDTO();
userDTO.setId(String.valueOf(centerUser.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