Explorar el Código

调整错误返回码

zhangqian hace 1 año
padre
commit
a4a94816ef
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;