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 1985312

Browse files
APIAuto:解决自动生成场景用例参数传递中字段名误用 key 全名
1 parent 96d3709 commit 1985312

File tree

1 file changed

+1
-1
lines changed
  • APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/api/apijson

1 file changed

+1
-1
lines changed

‎APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/api/apijson/StringUtil.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ var StringUtil = {
180180
getColumnName: function(s) {
181181
s = StringUtil.trim(s);
182182
var keys = s.split('_');
183-
if (keys.length > 0) {
183+
if (keys.length > 1) {
184184
return keys[keys.length - 1];
185185
}
186186

0 commit comments

Comments
(0)

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