File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/unit/js Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1395,7 +1395,7 @@ https://github.com/Tencent/APIJSON/issues
1395
1395
var clazz = StringUtil . trim ( index < 0 ? url : url . substring ( index + 1 ) )
1396
1396
var lang = this . language
1397
1397
if ( StringUtil . isBigName ( clazz ) != true ) {
1398
- if ( lang == CodeUtil . LANGUAGE_GO ) {
1398
+ if ( lang == CodeUtil . LANGUAGE_GO || lang == CodeUtil . LANGUAGE_C_PLUS_PLUS ) {
1399
1399
return ''
1400
1400
}
1401
1401
@@ -1418,7 +1418,7 @@ https://github.com/Tencent/APIJSON/issues
1418
1418
var cls = url . substring ( index + 1 )
1419
1419
var pkg = index < 0 ? '' : url . substring ( 0 , index )
1420
1420
1421
- if ( this . language == CodeUtil . LANGUAGE_GO && StringUtil . isBigName ( cls ) != true ) {
1421
+ if ( ( this . language == CodeUtil . LANGUAGE_GO || this . language == CodeUtil . LANGUAGE_C_PLUS_PLUS ) && StringUtil . isBigName ( cls ) != true ) {
1422
1422
pkg = StringUtil . isEmpty ( pkg ) ? cls : pkg + '.' + cls
1423
1423
}
1424
1424
return StringUtil . trim ( pkg )
You can’t perform that action at this time.
0 commit comments