GITZYY преди 7 месеца
родител
ревизия
594d3b348c

+ 3 - 1
README.md

@@ -102,5 +102,7 @@ mvn archetype:generate -DarchetypeCatalog=local
 //        hac.setPath(p).setSearch(s).setHeader(h).setMethod("GET");
 //        hac.setContent("{\"merchant\":\"xxxxxxfffff\",\"phone\":\"#{\\\"value\\\":\\\"#param.userMobile\\\",\\\"type\\\": \\\"spel\\\",\\\"functions\\\":[ {\\\"code\\\": \\\"md5\\\"}]}\"}");
 ```
-
+# 统一返回的信息封装
+1 http/https 统一返回信息实体DataVo
+2 spel 表达式接受统一的返回信息为map map解析的结果用#root “#root” 为map 的根
 

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

@@ -30,6 +30,7 @@ public class ApiGatewayImpl implements ApiGateway {
     @Override
     public DefaultResponseVo<DataVo> checkIntoRequest(CheckIntoParamDto param) {
         DataVo data = checkIntoService.checkInto(param);
+        log.info("data{}", JSONObject.toJSONString(data));
         return DefaultResponseVo.success(data);
 
     }