|
@@ -57,9 +57,9 @@ public class LoginAction {
|
|
|
map.put("personName", user.getPersonName());
|
|
|
map.put("random", user.getRandom());
|
|
|
map.put("tokenId", "Bearer"+token+"&"+user.getUserId());
|
|
|
- return JSONUtil.getJsonMap(200, true, HintMSG.ACCOUNT_EXP, map);
|
|
|
+ return JSONUtil.getJsonMap(200, true, HintMSG.LOGIN_SUCCESS, map);
|
|
|
} catch (Exception e) {
|
|
|
- return JSONUtil.getJsonMap(300, false, HintMSG.ACCOUNT_EXP+":"+e.getMessage(), null);
|
|
|
+ return JSONUtil.getJsonMap(300, false, HintMSG.LOGIN_FAIL+":"+e.getMessage(), null);
|
|
|
}
|
|
|
}
|
|
|
|