mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-31 03:32:43 +08:00
remove white list
This commit is contained in:
@ -204,13 +204,15 @@ public class GatewayClientService {
|
||||
* @return
|
||||
*/
|
||||
public DataResult<Boolean> checkInWhite(WhiteListRequest whiteListRequest) {
|
||||
DataResult<Boolean> result = Forest.get(chat2dbProperties.getGateway().getBaseUrl() + "/api/client/whitelist/check")
|
||||
.connectTimeout(Duration.ofMillis(5000))
|
||||
.readTimeout(Duration.ofMillis(10000))
|
||||
.addQuery(whiteListRequest)
|
||||
.execute(new TypeReference<>() {
|
||||
});
|
||||
return result;
|
||||
// 去掉白名单
|
||||
return DataResult.of(false);
|
||||
// DataResult<Boolean> result = Forest.get(chat2dbProperties.getGateway().getBaseUrl() + "/api/client/whitelist/check")
|
||||
// .connectTimeout(Duration.ofMillis(5000))
|
||||
// .readTimeout(Duration.ofMillis(10000))
|
||||
// .addQuery(whiteListRequest)
|
||||
// .execute(new TypeReference<>() {
|
||||
// });
|
||||
// return result;
|
||||
}
|
||||
|
||||
public ActionResult addOperationLog(SqlExecuteHistoryCreateRequest request) {
|
||||
|
Reference in New Issue
Block a user