Skip to content

Commit f5bb3e8

Browse files
committed
Java:MultiDataSource 中 UnitAuto 默认语言新增 Python,C++,Rust:language: 'Java,Kotlin,Go,Python,C++,Rust'
1 parent 4397c13 commit f5bb3e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ https://github.com/Tencent/APIJSON/issues
11561156
server: 'http://apijson.cn:9090', //apijson.cn
11571157
// server: 'http://47.74.39.68:9090', // apijson.org
11581158
project: 'http://apijson.cn:8080', // 'http://localhost:8081',
1159-
language: 'Java,Kotlin,Go', // CodeUtil.LANGUAGE_JAVA,
1159+
language: 'Java,Kotlin,Go,Python,C++,Rust', // CodeUtil.LANGUAGE_JAVA,
11601160
header: {},
11611161
page: 0,
11621162
count: 15,
@@ -1418,7 +1418,7 @@ https://github.com/Tencent/APIJSON/issues
14181418
var cls = url.substring(index + 1)
14191419
var pkg = index < 0 ? '' : url.substring(0, index)
14201420

1421-
if ((this.language == CodeUtil.LANGUAGE_GO || this.language == CodeUtil.LANGUAGE_C_PLUS_PLUS) && StringUtil.isBigName(cls) != true) {
1421+
if ((lang == CodeUtil.LANGUAGE_GO || lang == CodeUtil.LANGUAGE_CPP) && StringUtil.isBigName(cls) != true) {
14221422
pkg = StringUtil.isEmpty(pkg) ? cls : pkg + '.' + cls
14231423
}
14241424
return StringUtil.trim(pkg)

0 commit comments

Comments
 (0)