Browse Source

调整错误返回码

zhangqian 1 year ago
parent
commit
a4a94816ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/greentech/gateservice/util/Resonse.java

+ 1 - 1
src/main/java/com/greentech/gateservice/util/Resonse.java

@@ -13,7 +13,7 @@ public class Resonse {
     }
     public static JSONObject ResponseError(Object data) {
         JSONObject o = new JSONObject();
-        o.put("code",200);
+        o.put("code",100);
         o.put("msg","操作失败");
         o.put("data",data);
         return o;