Skip to content

Commit 8612124

Browse files
committed
完善请求参数在各种 method 及 tag 下的自动补全
1 parent 9823a91 commit 8612124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/apijson/framework/APIJSONController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public String delete(String request, HttpSession session) {
164164

165165
public String parseByTag(RequestMethod method, String tag, Map<String, String> params, String request, HttpSession session) {
166166

167-
JSONObject req = AbstractParser.wrapRequest(JSON.parseObject(request), tag, true);
167+
JSONObject req = AbstractParser.wrapRequest(method, tag, JSON.parseObject(request), false);
168168
if (req == null) {
169169
req = new JSONObject(true);
170170
}

0 commit comments

Comments
 (0)