Skip to content

Commit 2501847

Browse files
committed
Server:同步eclipse版至idea版。 Client:RequestUtil无需更改不提交
1 parent 78d17ba commit 2501847

File tree

5 files changed

+188
-133
lines changed

5 files changed

+188
-133
lines changed

APIJSON(Android)/APIJSON(AndroidStudio)/.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

APIJSON(Server)/APIJSON(Idea)/src/main/java/zuo/biao/apijson/server/QueryConfig.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ public RequestMethod getMethod() {
7575
return method;
7676
}
7777
public QueryConfig setMethod(RequestMethod method) {
78+
if (method == null) {
79+
method = RequestMethod.GET;
80+
}
7881
this.method = method;
7982
return this;
8083
}

0 commit comments

Comments
 (0)