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 6f6dd13

Browse files
CVAuto: 调整默认账号、分页等配置
1 parent 7c5700d commit 6f6dd13

File tree

4 files changed

+20
-19
lines changed

4 files changed

+20
-19
lines changed

‎APIJSON-Java-Server/APIJSONBoot-MultiDataSource/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>apijson.boot</groupId>
77
<artifactId>apijson-boot-multi-datasource</artifactId>
8-
<version>7.2.2</version>
8+
<version>7.2.5</version>
99
<packaging>jar</packaging>
1010

1111
<name>APIJSONBoot-MultiDataSource</name>

‎APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/cv/apijson/JSONRequest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
const TAG_REQUEST_UTIL = 'RequestUtil';
2222

23-
var URL_BASE = "http://apijson.cn:8080"; // 基地址
23+
var URL_BASE = "http://localhost:5000"; // 基地址
2424
var URL_GET = URL_BASE + "/get"; // 常规获取数据方式
2525
var URL_HEAD = URL_BASE + "/head"; // 检查,默认是非空检查,返回数据总数
2626
var URL_GETS = URL_BASE + "/gets"; // 通过POST来GET数据,不显示请求内容和返回结果,一般用于对安全要求比较高的请求

‎APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/cv/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@
919919
<div class="form-group">
920920
<label for="vAccount">账号</label>
921921

922-
<input id="vAccount" type="text" class="form-control" name="account" v-model="account" value="13000082001" required autofocus />
922+
<input id="vAccount" type="text" class="form-control" name="account" v-model="account" value="13000082005" required autofocus />
923923
</div>
924924

925925
<div class="form-group">

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

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,15 +1319,15 @@ https://github.com/Tencent/APIJSON/issues
13191319
testCases: [],
13201320
randoms: [],
13211321
randomSubs: [],
1322-
account: '13000082001',
1322+
account: '13000082005',
13231323
password: '123456',
13241324
logoutSummary: {},
13251325
accounts: [
13261326
{
13271327
'id': 82001,
13281328
'isLoggedIn': false,
1329-
'name': '测试账号1',
1330-
'phone': '13000082001',
1329+
'name': '测试账号5',
1330+
'phone': '13000082005',
13311331
'password': '123456'
13321332
},
13331333
{
@@ -1465,21 +1465,22 @@ https://github.com/Tencent/APIJSON/issues
14651465
database: 'MYSQL', // 查文档必须,除非后端提供默认配置接口 // 用后端默认的,避免用户总是没有配置就问为什么没有生成文档和注释 'MYSQL',// 'POSTGRESQL',
14661466
schema: 'sys', // 查文档必须,除非后端提供默认配置接口 // 用后端默认的,避免用户总是没有配置就问为什么没有生成文档和注释 'sys',
14671467
otherEnv: 'http://localhost:8080', // 其它环境服务地址,用来对比当前的
1468-
server: 'http://apijson.cn:9090', // 'http://localhost:8080', // Chrome 90+ 跨域问题非常难搞,开发模式启动都不行了
1468+
server: 'http://apijson.cn:8080', // 'http://localhost:8080', // Chrome 90+ 跨域问题非常难搞,开发模式启动都不行了
14691469
// server: 'http://47.74.39.68:9090', // apijson.org
14701470
projectHost: {host: 'http://apijson.cn:8080', project: 'APIJSON.cn'}, // apijson.cn
14711471
thirdParty: 'SWAGGER /v2/api-docs', //apijson.cn
14721472
// thirdParty: 'RAP /repository/joined /repository/get',
14731473
// thirdParty: 'YAPI /api/interface/list_menu /api/interface/get',
14741474
projectHosts: [
1475+
{host: 'http://localhost:5000', project: 'Localhost'},
14751476
{host: 'http://localhost:8080', project: 'Localhost'},
14761477
{host: 'http://apijson.cn:8080', project: 'APIJSON.cn'},
14771478
{host: 'http://apijson.cn:9090', project: 'APIJSON.cn:9090'}
14781479
],
14791480
language: CodeUtil.LANGUAGE_KOTLIN,
14801481
header: {},
14811482
page: 0,
1482-
count: 50,
1483+
count: 20,
14831484
search: '',
14841485
chainGroupPage: 0,
14851486
chainGroupPages: {},
@@ -1495,15 +1496,15 @@ https://github.com/Tencent/APIJSON/issues
14951496
caseGroupSearches: {},
14961497
testCasePage: 0,
14971498
testCasePages: {},
1498-
testCaseCount: 50,
1499+
testCaseCount: 20,
14991500
testCaseCounts: {},
15001501
testCaseSearch: '',
15011502
testCaseSearches: {},
15021503
randomPage: 0,
1503-
randomCount: 50,
1504+
randomCount: 10,
15041505
randomSearch: '',
15051506
randomSubPage: 0,
1506-
randomSubCount: 50,
1507+
randomSubCount: 10,
15071508
randomSubSearch: '',
15081509
doneCount: 0,
15091510
allCount: 0,
@@ -5687,10 +5688,10 @@ https://github.com/Tencent/APIJSON/issues
56875688
saveCache: function (url, key, value) {
56885689
var cache = this.getCache(url);
56895690
cache[key] = value
5690-
localStorage.setItem('APIAuto:' + url, JSON.stringify(cache))
5691+
localStorage.setItem('CVAuto:' + url, JSON.stringify(cache))
56915692
},
56925693
getCache: function (url, key, defaultValue) {
5693-
var cache = localStorage.getItem('APIAuto:' + url)
5694+
var cache = localStorage.getItem('CVAuto:' + url)
56945695
try {
56955696
cache = parseJSON(cache)
56965697
} catch(e) {
@@ -5846,7 +5847,7 @@ https://github.com/Tencent/APIJSON/issues
58465847

58475848
if (user == null || StringUtil.isEmpty(user.phone, true)) {
58485849
user = {
5849-
phone: '13000082001',
5850+
phone: '13000082005',
58505851
password: '123456'
58515852
}
58525853
}
@@ -8442,7 +8443,7 @@ Content-Type: ` + contentType) + (StringUtil.isEmpty(headerStr, true) ? '' : hea
84428443
}
84438444

84448445
var answer = StringUtil.get(typeof data2 == 'string' ? data2 : (data instanceof Array ? data2.join() : JSON.stringify(data2)))
8445-
.replaceAll('/wiki/Tencent/APIJSON#', 'https://deepwiki.com/Tencent/APIJSON/').replaceAll('/wiki/TommyLemon/APIAuto#', 'https://deepwiki.com/TommyLemon/APIAuto/');
8446+
.replaceAll('/wiki/Tencent/APIJSON#', 'https://deepwiki.com/Tencent/APIJSON/').replaceAll('/wiki/TommyLemon/CVAuto#', 'https://deepwiki.com/TommyLemon/CVAuto/');
84468447
App.view = 'markdown';
84478448
vOutput.value += answer;
84488449
markdownToHTML(vOutput.value)
@@ -8476,7 +8477,7 @@ Content-Type: ` + contentType) + (StringUtil.isEmpty(headerStr, true) ? '' : hea
84768477
}
84778478

84788479
answer += '\n' + StringUtil.trim(typeof data2 == 'string' ? data2 : (data2 instanceof Array ? data2.join() : JSON.stringify(data2)))
8479-
.replaceAll('/wiki/Tencent/APIJSON#', 'https://deepwiki.com/Tencent/APIJSON/').replaceAll('/wiki/TommyLemon/APIAuto#', 'https://deepwiki.com/TommyLemon/APIAuto/');
8480+
.replaceAll('/wiki/Tencent/APIJSON#', 'https://deepwiki.com/Tencent/APIJSON/').replaceAll('/wiki/TommyLemon/CVAuto#', 'https://deepwiki.com/TommyLemon/CVAuto/');
84808481
}
84818482

84828483
answer += '\n<br/>\n';
@@ -8550,11 +8551,11 @@ Content-Type: ` + contentType) + (StringUtil.isEmpty(headerStr, true) ? '' : hea
85508551

85518552
this.request(true, REQUEST_TYPE_POST, REQUEST_TYPE_JSON, 'https://api.devin.ai/ada/query', {
85528553
"engine_id": vDeepSearch.checked ? "agent" : "multihop",
8553-
"user_query": "<relevant_context>" + (isRes ? "这是用 HTTP 接口工具 TommyLemon/APIAuto 发请求后的响应结果,分析并" : "") + "用中文回答:</relevant_context><br/>\n" + user_query,
8554+
"user_query": "<relevant_context>" + (isRes ? "这是用 HTTP 接口工具 TommyLemon/CVAuto 发请求后的响应结果,分析并" : "") + "用中文回答:</relevant_context><br/>\n" + user_query,
85548555
"keywords": [],
85558556
"repo_names": JSONObject.isAPIJSONPath(this.getMethod()) ? [
8556-
"Tencent/APIJSON", "TommyLemon/APIAuto"
8557-
] : ["TommyLemon/APIAuto"],
8557+
"Tencent/APIJSON", "TommyLemon/CVAuto"
8558+
] : ["TommyLemon/CVAuto"],
85588559
"additional_context": "",
85598560
"query_id": this.uuid,
85608561
"use_notes": false,

0 commit comments

Comments
(0)

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