Skip to content

Commit 38f42fd

Browse files
committed
Java: MultiDataSource 更新 APIAuto
1 parent 5a4eaf0 commit 38f42fd

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

  • APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/api

APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/api/README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,11 @@ Bilibili:https://search.bilibili.com/all?keyword=APIAuto
121121

122122
### 相关推荐
123123
[别再生成测试代码了!](https://mp.weixin.qq.com/s/G1GVNhhFbSX5GoyRU6GURg) <br />
124-
[APIAuto: 最先进的HTTP接口工具](https://blog.csdn.net/Nifc666/article/details/141966487)
125-
[APIAuto 开源项目教程](https://damodev.csdn.net/68a7c70a4e4959284dac25fc.html)
124+
[APIAuto: 最先进的 HTTP 接口工具](https://blog.csdn.net/Nifc666/article/details/141966487) <br />
125+
[APIAuto 开源项目教程](https://blog.csdn.net/gitblog_00138/article/details/142802330) <br />
126+
[Github 2.2k Star!一款开源的机器学习 HTTP 接口工具!](https://mp.weixin.qq.com/s/4ZS80QP-WN-holFQkrxK-w)
126127

127-
### 百度、搜狗、抖音公网接口调用演示<br />
128+
### 百度、搜狗、抖音公网接口调用演示 <br />
128129
因为这些接口不支持 CORS 跨域,所以需要开启托管服务代理。<br />
129130
可以复制 Chrome 等浏览器、Charles 等抓包工具的请求文本,<br />
130131
粘贴到 APIAuto 的 URL 输入框,会自动填充 URL, JSON, Header 等。<br />
@@ -152,7 +153,7 @@ https://www.bilibili.com/video/BV1JZ4y1d7c8
152153

153154
本项目是纯静态 SPA 网页,下载源码解压后:<br />
154155
可以用浏览器打开 index.html,建议用 [Chrome](https://www.google.com/intl/zh-CN/chrome)[Firefox](https://www.mozilla.org/zh-CN/firefox) (Safari、Edge、IE 等可能有兼容问题),注意此方法不显示 svg 图标。<br />
155-
也可以用 [IntelliJ Webstorm](https://www.jetbrains.com/webstorm/), [IntelliJ IDEA](https://www.jetbrains.com/idea/), [Eclipse](https://www.eclipse.org/) 等 IDE 来打开。<br />
156+
也可以用 [Webstorm](https://www.jetbrains.com/webstorm/), [IntelliJ IDEA](https://www.jetbrains.com/idea/), [Eclipse](https://www.eclipse.org/) 等 IDE 来打开。<br />
156157
也可以部署到服务器并用 [Nginx](https://www.jianshu.com/p/11fa3a1a6d65)[Node](https://segmentfault.com/a/1190000039744899) 反向代理,或者 [把源码放到 SpringBoot 项目的 resources/static 目录](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server)。 <br />
157158
还可以直接访问官方网站 http://apijson.cn/apihttp://apijson.cn:8080 <br />
158159
<br />
@@ -254,6 +255,9 @@ https://github.com/TommyLemon/APIAuto/issues/12
254255
托管服务地址改为 http://47.98.196.224:8080 <br />
255256
https://github.com/TommyLemon/APIAuto/issues/13
256257

258+
#### 5.如何清除多余的表记录?
259+
https://github.com/TommyLemon/APIAuto/issues/82
260+
257261
更多问题及解答 <br />
258262
https://github.com/TommyLemon/APIAuto/issues
259263

@@ -346,3 +350,5 @@ https://github.com/TommyLemon/APIAuto
346350

347351

348352

353+
354+

APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/api/js/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11696,7 +11696,7 @@ Content-Type: ` + contentType) + (StringUtil.isEmpty(headerStr, true) ? '' : hea
1169611696
cur.index = index
1169711697
// item.pre = pre // list[index - 1]
1169811698

11699-
var doc = item.Flow || {}
11699+
var doc = item.Document || {}
1170011700
var method = cur.method = doc.method
1170111701
var type = cur.type = doc.type
1170211702
var url = cur.url = doc.url
@@ -11711,7 +11711,7 @@ Content-Type: ` + contentType) + (StringUtil.isEmpty(headerStr, true) ? '' : hea
1171111711
var accountInfo = this.getCurrentAccount() || {}
1171211712
const account = StringUtil.trim(accountInfo.account || accountInfo.phone || accountInfo.email)
1171311713
//
11714-
// this.parseRandom(json, rawConfig, random.id, true, false, function (randomName, constConfig, constJson) {
11714+
// this.parseRandom(json, header, rawConfig, random.id, true, false, function (randomName, constConfig, constJson) {
1171511715
this.startTestSingle(list, allCount, index, item, isRandom, accountIndex, isCross, callback
1171611716
, function(res, allCount, list, index, response, cmp, isRandom, accountIndex, justRecoverTest, isCross) {
1171711717

0 commit comments

Comments
 (0)