瀏覽代碼

update 包名

GITZYY 7 月之前
父節點
當前提交
0c5b27b3d0

+ 3 - 3
egress-gateway-service-client/src/main/java/com/hrsk/cloud/eg/vo/response/DataVo.java

@@ -13,7 +13,7 @@ import java.io.Serializable;
 public class DataVo implements Serializable {
 
     /**
-     * 状态 1 成功 0 失败 参考true 和false
+     * 状态 0 成功 1 失败 参考true 和false
      * */
     private Integer status;
 
@@ -29,7 +29,7 @@ public class DataVo implements Serializable {
     }
 
     public static DataVo success(){
-        return new DataVo(1,"撞库成功");
+        return new DataVo(0,"撞库成功");
     }
 
 
@@ -38,7 +38,7 @@ public class DataVo implements Serializable {
     }
 
     public static DataVo fail(){
-        return new DataVo(0,"撞库失败");
+        return new DataVo(1,"撞库失败");
     }
 
 

+ 1 - 1
egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/ApiGateWayImpl/ApiGatewayImpl.java → egress-gateway-service-infrastructure/src/main/java/com/hrsk/cloud/eg/infrastructure/apiGateWayImpl/ApiGatewayImpl.java

@@ -1,4 +1,4 @@
-package com.hrsk.cloud.eg.infrastructure.ApiGateWayImpl;
+package com.hrsk.cloud.eg.infrastructure.apiGateWayImpl;
 
 import com.alibaba.fastjson2.JSONObject;
 import com.hrsk.cloud.eg.domain.api.ApiGateway;