|
@@ -29,6 +29,18 @@ mvn archetype:generate -DarchetypeCatalog=local
|
|
|
|
|
|
# base_table
|
|
# base_table
|
|
|
|
|
|
|
|
+# 统一返回的信息封装
|
|
|
|
+1 http/https 统一返回信息实体DataVo
|
|
|
|
+2 spel 表达式接受并且转化所有的信息为map,map解析的结果用#root “#root” 为map 的根
|
|
|
|
+
|
|
|
|
+# eg eg_api
|
|
|
|
+1 redis key code 编码信息 eg+前缀+'历史loan-web-api对接code值'
|
|
|
|
+
|
|
|
|
+# mybatis plus meta handler
|
|
|
|
+1 使用 BaseDo 进行填充
|
|
|
|
+2 BaseDo 添加了 @TableField(fill = FieldFill.INSERT) @TableField(fill = FieldFill.UPDATE) 注解
|
|
|
|
+
|
|
|
|
+
|
|
# http 加载信息 初始化 参考
|
|
# http 加载信息 初始化 参考
|
|
```
|
|
```
|
|
JSONObject jsonObject=JSONObject.parseObject(param);
|
|
JSONObject jsonObject=JSONObject.parseObject(param);
|
|
@@ -101,10 +113,4 @@ mvn archetype:generate -DarchetypeCatalog=local
|
|
// s.add(s2);
|
|
// s.add(s2);
|
|
// hac.setPath(p).setSearch(s).setHeader(h).setMethod("GET");
|
|
// hac.setPath(p).setSearch(s).setHeader(h).setMethod("GET");
|
|
// hac.setContent("{\"merchant\":\"xxxxxxfffff\",\"phone\":\"#{\\\"value\\\":\\\"#param.userMobile\\\",\\\"type\\\": \\\"spel\\\",\\\"functions\\\":[ {\\\"code\\\": \\\"md5\\\"}]}\"}");
|
|
// hac.setContent("{\"merchant\":\"xxxxxxfffff\",\"phone\":\"#{\\\"value\\\":\\\"#param.userMobile\\\",\\\"type\\\": \\\"spel\\\",\\\"functions\\\":[ {\\\"code\\\": \\\"md5\\\"}]}\"}");
|
|
-```
|
|
|
|
-# 统一返回的信息封装
|
|
|
|
-1 http/https 统一返回信息实体DataVo
|
|
|
|
-2 spel 表达式接受并且转化所有的信息为map,map解析的结果用#root “#root” 为map 的根
|
|
|
|
-
|
|
|
|
-# eg eg_api
|
|
|
|
-1 code 编码信息 eg+前缀+'历史loan-web-api对接code值'
|
|
|
|
|
|
+```
|