diff --git a/.idea/CoolRequestCommonStatePersistent.xml b/.idea/CoolRequestCommonStatePersistent.xml index 8cda670..3977fa2 100644 --- a/.idea/CoolRequestCommonStatePersistent.xml +++ b/.idea/CoolRequestCommonStatePersistent.xml @@ -1,6 +1,6 @@ - \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index c4d21bb..51539bf 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -49,5 +49,37 @@ jdbc:mysql://10.0.0.10/aioj_dev $ProjectFileDir$ + + mysql.8 + true + true + com.mysql.cj.jdbc.Driver + jdbc:mysql://10.0.0.10/aioj_dev + $ProjectFileDir$ + + + mysql.8 + true + true + com.mysql.cj.jdbc.Driver + jdbc:mysql://10.0.0.10/aioj_dev + $ProjectFileDir$ + + + mysql.8 + true + true + com.mysql.cj.jdbc.Driver + jdbc:mysql://10.0.0.10/aioj_dev + $ProjectFileDir$ + + + mysql.8 + true + true + com.mysql.cj.jdbc.Driver + jdbc:mysql://10.0.0.10/aioj_dev + $ProjectFileDir$ + \ No newline at end of file diff --git a/.idea/db-forest-config.xml b/.idea/db-forest-config.xml index 6437a7f..b949d63 100644 --- a/.idea/db-forest-config.xml +++ b/.idea/db-forest-config.xml @@ -1,6 +1,6 @@ - \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml index 000e721..248eeae 100644 --- a/.idea/encodings.xml +++ b/.idea/encodings.xml @@ -14,6 +14,7 @@ + diff --git a/aioj-backend-gateway/src/main/java/cn/meowrain/aioj/backend/gateway/filter/AuthGlobalFilter.java b/aioj-backend-gateway/src/main/java/cn/meowrain/aioj/backend/gateway/filter/AuthGlobalFilter.java index 2338371..c12689d 100644 --- a/aioj-backend-gateway/src/main/java/cn/meowrain/aioj/backend/gateway/filter/AuthGlobalFilter.java +++ b/aioj-backend-gateway/src/main/java/cn/meowrain/aioj/backend/gateway/filter/AuthGlobalFilter.java @@ -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; diff --git a/uploads/2026/01/11/13d6582388f042e1b1f5ab52410e8ebe.webp b/uploads/2026/01/11/13d6582388f042e1b1f5ab52410e8ebe.webp new file mode 100644 index 0000000..5ebdaf9 Binary files /dev/null and b/uploads/2026/01/11/13d6582388f042e1b1f5ab52410e8ebe.webp differ diff --git a/uploads/2026/01/11/85c7a63517d742249c846caa54af1abb.jpg b/uploads/2026/01/11/85c7a63517d742249c846caa54af1abb.jpg new file mode 100644 index 0000000..bc63996 Binary files /dev/null and b/uploads/2026/01/11/85c7a63517d742249c846caa54af1abb.jpg differ diff --git a/uploads/2026/01/11/8fad1e1e8c764cf19e39756a6bd9a026.png b/uploads/2026/01/11/8fad1e1e8c764cf19e39756a6bd9a026.png new file mode 100644 index 0000000..f783cb5 Binary files /dev/null and b/uploads/2026/01/11/8fad1e1e8c764cf19e39756a6bd9a026.png differ diff --git a/uploads/2026/01/12/903a0b99e68c4552b687119b8474a309.webp b/uploads/2026/01/12/903a0b99e68c4552b687119b8474a309.webp new file mode 100644 index 0000000..5ebdaf9 Binary files /dev/null and b/uploads/2026/01/12/903a0b99e68c4552b687119b8474a309.webp differ diff --git a/uploads/2026/01/12/97b2b44e3d0c4f64bedec71f9367ebc4.jpg b/uploads/2026/01/12/97b2b44e3d0c4f64bedec71f9367ebc4.jpg new file mode 100644 index 0000000..6e18d74 Binary files /dev/null and b/uploads/2026/01/12/97b2b44e3d0c4f64bedec71f9367ebc4.jpg differ diff --git a/uploads/2026/01/12/b7198cdf45f54a98976426747f015184.jpg b/uploads/2026/01/12/b7198cdf45f54a98976426747f015184.jpg new file mode 100644 index 0000000..bc63996 Binary files /dev/null and b/uploads/2026/01/12/b7198cdf45f54a98976426747f015184.jpg differ