|
@@ -85,10 +85,10 @@ public class LoginService implements ILoginService {
|
|
|
public RestResponse login(HttpServletRequest request, UserRequest userRequest) {
|
|
|
String password = userRequest.getPassword();
|
|
|
if (StringUtils.isBlank(userRequest.getMobile())) {
|
|
|
- return RestResponse.fail(ApiConstants.RESULT_ERROR, "手机号为空无法注册");
|
|
|
+ return RestResponse.fail(ApiConstants.RESULT_ERROR, "手机号为空无法登录");
|
|
|
}
|
|
|
if (StringUtils.isBlank(password)) {
|
|
|
- return RestResponse.fail(ApiConstants.RESULT_ERROR, "用户密码为空无法注册");
|
|
|
+ return RestResponse.fail(ApiConstants.RESULT_ERROR, "用户密码为空无法登录");
|
|
|
}
|
|
|
//通过手机号获取用户账户信息
|
|
|
UserAccount userAccount = userAccountService.getByMobile(userRequest.getMobile());
|