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 eccb169

Browse files
CVAuto: 调整默认接口信息、UI 显示、文档和视频跳转链接
1 parent 6f6dd13 commit eccb169

File tree

2 files changed

+6
-12
lines changed
  • APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/cv

2 files changed

+6
-12
lines changed

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

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@
9595

9696
<!--只用60%避免拦截左右两侧View的触摸事件-->
9797
<div style="width: 40%;height: 100%;left: 30%;display: inline-block;text-align: center;position: fixed;padding-top: 10px">
98-
<a style="font-size: large;margin-left: 10px;margin-right: 10px;color: silver" href="https://github.com/Tencent/APIJSON/blob/master/Document.md" target="_blank" >文档</a>
99-
<a style="font-size: large;margin-left: 10px;margin-right: 10px;color: silver" href="https://search.bilibili.com/all?keyword=APIJSON" target="_blank" >视频</a>
98+
<a style="font-size: large;margin-left: 10px;margin-right: 10px;color: silver" href="https://github.com/TommyLemon/CVAuto?tab=readme-ov-file#%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B" target="_blank" >文档</a>
99+
<a style="font-size: large;margin-left: 10px;margin-right: 10px;color: silver" href="https://search.bilibili.com/all?keyword=APIAuto&order=click" target="_blank" >视频</a>
100100
<a style="font-size: large;margin-left: 10px;margin-right: 10px;color: silver" href="https://github.com/search?o=desc&q=apijson&s=stars&type=Repositories" target="_blank" >生态</a>
101101
</div>
102102

@@ -370,14 +370,8 @@
370370
371371
" >
372372
{
373-
"User": {
374-
"id": "82001"
375-
}, // 以上查一个对象,以下查一个数组,Comment.userId = User.id。在键值对后按 Enter 回车键自动智能生成补全提示
376-
"[]": {
377-
Comment : {
378-
'userId@': "User/id"
379-
}
380-
}
373+
"conf": 0.3, // 置信度阈值
374+
"image": "http://apijson.cn/images/APIJSON_QECon_small.jpg" // 图片 URL/Base64
381375
}
382376

383377
/*
@@ -1130,7 +1124,7 @@
11301124
var vVerify = document.getElementById("vVerify");
11311125
var vRemember = document.getElementById("vRemember");
11321126

1133-
vUrl.value = StringUtil.get(URL_BASE + '/get'); //main.js里访问不到,可能是script引用顺序问题
1127+
vUrl.value = StringUtil.get(URL_BASE + '/predict'); //main.js里访问不到,可能是script引用顺序问题
11341128

11351129
var vRequestMarkdown = document.getElementById('vRequestMarkdown');
11361130
var vMarkdown = document.getElementById('vMarkdown');

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ https://github.com/Tencent/APIJSON/issues
13881388
isConfigShow: false,
13891389
isDeleteShow: false,
13901390
groupShowType: 0,
1391-
caseShowType: 0,
1391+
caseShowType: 1,
13921392
chainShowType: 0,
13931393
statisticsShowType: 0,
13941394
currentHttpResponse: {},

0 commit comments

Comments
(0)

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