mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-30 03:03:13 +08:00
check in white update
This commit is contained in:
@ -69,7 +69,12 @@ public class EmbeddingController extends ChatController {
|
||||
if (StringUtils.isBlank(request.getApiKey())) {
|
||||
return DataResult.of(false);
|
||||
}
|
||||
return gatewayClientService.checkInWhite(request);
|
||||
try {
|
||||
DataResult<Boolean> res = gatewayClientService.checkInWhite(request);
|
||||
} catch (Exception ex) {
|
||||
log.error("checkInWhite error", ex);
|
||||
}
|
||||
return DataResult.of(false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user