|
@@ -137,9 +137,9 @@ public class UserAction {
|
|
|
int num = userService.findUserByuserIdandusername(user);
|
|
|
if(num!=0) throw new RuntimeException("该账号名已存在");
|
|
|
userService.updateAccountByUserId(user);
|
|
|
- return JSONUtil.getJsonMap(200, true, HintMSG.QUERY_SUCCESS, null);
|
|
|
+ return JSONUtil.getJsonMap(200, true, HintMSG.OPERATION_SUCCESS, null);
|
|
|
} catch (Exception e) {
|
|
|
- return JSONUtil.getJsonMap(500, false, HintMSG.QUERY_FAIL+":"+e.getMessage(), null);
|
|
|
+ return JSONUtil.getJsonMap(500, false, HintMSG.OPERATION_FAIL+":"+e.getMessage(), null);
|
|
|
}
|
|
|
|
|
|
}
|