Ver código fonte

调整错误返回码

zhangqian 1 ano atrás
pai
commit
a4a94816ef

+ 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;