chore: 更新IDE配置和网关过滤器

- 更新IDEA配置文件(dataSources, db-forest, encodings)
- 更新网关AuthGlobalFilter
- 添加uploads目录

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-01-12 02:02:59 +08:00
parent a4575cebd4
commit c9e9a1a4c7
11 changed files with 36 additions and 3 deletions

View File

@@ -114,7 +114,7 @@ public class AuthGlobalFilter implements GlobalFilter, Ordered {
try {
// 解析响应,判断是否有效
Result result = objectMapper.readValue(response, Result.class);
return Objects.equals(result.getCode(), Result.SUCCESS_CODE);
return Objects.equals(result.getData(), true);
} catch (JsonProcessingException e) {
log.error("❌ 解析认证服务响应失败", e);
return false;