chb hace 7 años
padre
commit
b5cbde6aa4
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      saicLogistics/src/main/java/com/fuzamei/web/UserAction.java

+ 2 - 2
saicLogistics/src/main/java/com/fuzamei/web/UserAction.java

@@ -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);
 		}
 
 	}