Skip to content

Commit 74d3b74

Browse files
committed
优化自动生成解析JSON的代码的注释和命名
1 parent 32201f4 commit 74d3b74

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

apijson/CodeUtil.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ var CodeUtil = {
165165
},
166166

167167

168-
/**解析出 生成Android-Java返回结果JSON 的代码
168+
/**TODO 为for循环生成函数
169+
* 解析出 生成Android-Java返回结果JSON 的代码
169170
* @param name
170171
* @param resObj
171172
* @param depth

js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@
440440
+ '\n\nURL: ' + vUrl.value
441441
+ '\n\nRequest:\n' + vInput.value
442442
+ '\n\n\nResponse:\n' + App.jsoncon
443-
+ '\n\n\n## Java解析Response的代码 \n\n' + CodeUtil.parseJavaResponse('res', JSON.parse(App.jsoncon), 0)
443+
+ '\n\n\n## Java解析Response的代码 \n\n' + CodeUtil.parseJavaResponse('', JSON.parse(App.jsoncon), 0)
444444
, App.exTxt.name + '.txt')
445445
}
446446
}

0 commit comments

Comments
 (0)