Skip to content

Commit f133217

Browse files
committed
Java: MultiDataSource 解决注册接口报错 Privacy 不允许 UNKNOWN 用户的 POST 请求
1 parent f232b21 commit f133217

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/boot/DemoController.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ public JSONObject register(@RequestBody String request) {
10101010
}
10111011
requestObject.put(JSONRequest.KEY_FORMAT, true);
10121012
response = new JSONResponse(
1013-
new DemoParser(POST).setNeedVerifyLogin(false).parseResponse(requestObject)
1013+
new DemoParser(POST).setNeedVerifyLogin(false).setNeedVerifyRole(false).parseResponse(requestObject)
10141014
);
10151015

10161016
//验证User和Privacy

0 commit comments

Comments
 (0)