Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 052fbc8

Browse files
删除无效代码
1 parent 89c6ab3 commit 052fbc8

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

‎APIJSON-Java-Server/APIJSONDemo-MultiDataSource-Elasticsearch/src/main/java/apijson/demo/DemoFunctionParser.java

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -77,43 +77,11 @@ public void pwdEncrypt(@NotNull JSONObject current, @NotNull String id, @NotNull
7777
current.put(password, c_password + "_" + System.currentTimeMillis());
7878
}
7979

80-
/***
81-
* 业务表-插入不同表1:n <br/>
82-
* 业务表-批量修改不同表1:n <br/>
83-
* 测试 子表 前置函数调用,修改值是否成果 <br/>
84-
* user_address 表 addr字段
85-
*
86-
* @param current
87-
* @param password
88-
* @return
89-
* @throws Exception
90-
*/
9180
public void childFunTest(@NotNull JSONObject current, @NotNull String addr) throws Exception {
9281
String c_addr = current.getString(addr);
9382
current.put(addr, c_addr + "_" + System.currentTimeMillis());
9483
}
9584

96-
/***
97-
* 没有在外层事物里面
98-
*
99-
* @throws Exception
100-
*/
101-
// private void insertTest() throws Exception {
102-
// String json = "{\n" + " \"User\":{\n" + " \"username\":\"test\",\n"
103-
// + " \"password\": \"233223\",\n" + " \"state\": 1\n" + " },\n" + " \"tag\": \"User\"\n"
104-
// + "}";
105-
// com.alibaba.fastjson.JSONObject requestObject = AbstractParser.parseRequest(json);
106-
// JSONResponse response = new JSONResponse(new FormParser(POST, false).parseResponse(requestObject));
107-
// log.info(response.toJSONString());
108-
// }
109-
//
110-
// private void selectTest() throws Exception {
111-
// String json = "{\n" + " \"User\": {\n" + " \"id\": \"4732209c-5785-4827-b532-5092f154fd94\"\n"
112-
// + " },\n" + " \"tag\": \"User\"\n" + "}";
113-
// com.alibaba.fastjson.JSONObject requestObject = AbstractParser.parseRequest(json);
114-
// JSONResponse response = new JSONResponse(new FormParser(GET, false).parseResponse(requestObject));
115-
// log.info(response.toJSONString());
116-
// }
11785

11886
public void removeKeys(@NotNull JSONObject current, String keys) {
11987
String[] ks = StringUtil.split(keys, ";"); // 用分号 ; 分割

‎APIJSON-Java-Server/APIJSONDemo-MultiDataSource-Elasticsearch/src/main/java/apijson/demo/DynamicJdbcDataSource.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
* 1、应用启动添加数据源
4141
* 2、页面动态添加数据源(数据库存储数据源信息)
4242
*
43-
* @author xy
4443
*
4544
*/
4645
@Data

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /