Skip to content

Commit

Permalink
解决依赖 APIJSON 6.0.0+ 的 /put/balance 在已传 tag 时也报错未传 tag
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyLemon committed Sep 2, 2023
1 parent e4cbf09 commit 65f4d5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ public JSONObject putBalance(@RequestBody String request, HttpSession session) {
double change;
try {
DemoVerifier.verifyLogin(session);
requestObject = new DemoParser(PUT).setRequest(DemoParser.parseRequest(request)).parseCorrectRequest();
requestObject = new DemoParser(PUT).setTag(PRIVACY_).setRequest(DemoParser.parseRequest(request)).parseCorrectRequest();

privacyObj = requestObject.getJSONObject(PRIVACY_);
if (privacyObj == null) {
Expand Down

0 comments on commit 65f4d5b

Please sign in to comment.