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
13951395 var clazz = StringUtil . trim ( index < 0 ? url : url . substring ( index + 1 ) )
13961396 var lang = this . language
13971397 if ( StringUtil . isBigName ( clazz ) != true ) {
1398- if ( lang == CodeUtil . LANGUAGE_GO ) {
1398+ if ( lang == CodeUtil . LANGUAGE_GO || lang == CodeUtil . LANGUAGE_C_PLUS_PLUS ) {
13991399 return ''
14001400 }
14011401
@@ -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 && StringUtil . isBigName ( cls ) != true ) {
1421+ if ( ( this . language == CodeUtil . LANGUAGE_GO || this . language == CodeUtil . LANGUAGE_C_PLUS_PLUS ) && StringUtil . isBigName ( cls ) != true ) {
14221422 pkg = StringUtil . isEmpty ( pkg ) ? cls : pkg + '.' + cls
14231423 }
14241424 return StringUtil . trim ( pkg )
You can’t perform that action at this time.
0 commit comments