chore: 更新IDE配置和网关过滤器
- 更新IDEA配置文件(dataSources, db-forest, encodings) - 更新网关AuthGlobalFilter - 添加uploads目录 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2
.idea/CoolRequestCommonStatePersistent.xml
generated
2
.idea/CoolRequestCommonStatePersistent.xml
generated
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CoolRequestCommonStatePersistent">
|
||||
<option name="searchCache" value="/auth/getUserInfo" />
|
||||
<option name="searchCache" value="/api/v1/auth/refresh" />
|
||||
</component>
|
||||
</project>
|
||||
32
.idea/dataSources.xml
generated
32
.idea/dataSources.xml
generated
@@ -49,5 +49,37 @@
|
||||
<jdbc-url>jdbc:mysql://10.0.0.10/aioj_dev</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
<data-source source="LOCAL" name="jdbc:mysql://10.0.0.10/aioj_dev [DEBUG]" group="AIOJAdminApplication" uuid="3a647305-fb45-441b-ba2b-a79ec82a3778">
|
||||
<driver-ref>mysql.8</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<imported>true</imported>
|
||||
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:mysql://10.0.0.10/aioj_dev</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
<data-source source="LOCAL" name="jdbc:mysql://10.0.0.10/aioj_dev [DEBUG]" group="AIOJAuthApplication" uuid="38fda843-f467-435e-99e4-2a771f7af3f3">
|
||||
<driver-ref>mysql.8</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<imported>true</imported>
|
||||
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:mysql://10.0.0.10/aioj_dev</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
<data-source source="LOCAL" name="jdbc:mysql://10.0.0.10/aioj_dev [DEBUG]" group="FileServiceApplication" uuid="8d957a30-3743-40eb-a916-c6503a783fb9">
|
||||
<driver-ref>mysql.8</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<imported>true</imported>
|
||||
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:mysql://10.0.0.10/aioj_dev</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
<data-source source="LOCAL" name="jdbc:mysql://10.0.0.10/aioj_dev [DEBUG]" group="UserServiceApplication" uuid="38b7e47b-6235-4576-8b43-df28c967dbcc">
|
||||
<driver-ref>mysql.8</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<imported>true</imported>
|
||||
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:mysql://10.0.0.10/aioj_dev</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
</component>
|
||||
</project>
|
||||
2
.idea/db-forest-config.xml
generated
2
.idea/db-forest-config.xml
generated
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="db-tree-configuration">
|
||||
<option name="data" value="1:0:AIOJAdminApplication 4:0:UserServiceApplication 7:0:AIOJAuthApplication ---------------------------------------- 2:1:43cc61de-66e1-44cc-b4a2-b24d7e03b490 3:1:1323cc2e-0b2e-40de-abe6-d1f4c7567b1e 5:4:903d03c4-df11-4cf8-939a-3e5fba0ab207 6:4:c52f5e64-993d-4013-9e2b-838e23d604a2 8:7:2fd8684a-b9aa-4507-abb0-f7c259d91286 9:7:e757fbaf-3605-4bf2-9eb5-852d06273adc " />
|
||||
<option name="data" value="1:0:AIOJAdminApplication 5:0:UserServiceApplication 9:0:AIOJAuthApplication 13:0:FileServiceApplication ---------------------------------------- 2:1:43cc61de-66e1-44cc-b4a2-b24d7e03b490 3:1:1323cc2e-0b2e-40de-abe6-d1f4c7567b1e 4:1:3a647305-fb45-441b-ba2b-a79ec82a3778 6:5:903d03c4-df11-4cf8-939a-3e5fba0ab207 7:5:c52f5e64-993d-4013-9e2b-838e23d604a2 8:5:38b7e47b-6235-4576-8b43-df28c967dbcc 10:9:2fd8684a-b9aa-4507-abb0-f7c259d91286 11:9:e757fbaf-3605-4bf2-9eb5-852d06273adc 12:9:38fda843-f467-435e-99e4-2a771f7af3f3 14:13:8d957a30-3743-40eb-a916-c6503a783fb9 " />
|
||||
</component>
|
||||
</project>
|
||||
1
.idea/encodings.xml
generated
1
.idea/encodings.xml
generated
@@ -14,6 +14,7 @@
|
||||
<file url="file://$PROJECT_DIR$/aioj-backend-common/aioj-backend-common-feign/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/aioj-backend-common/aioj-backend-common-log/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/aioj-backend-common/aioj-backend-common-mybatis/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/aioj-backend-common/aioj-backend-common-security/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/aioj-backend-common/aioj-backend-common-starter/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/aioj-backend-common/aioj-backend-common-starter/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/aioj-backend-common/aioj-backend-common-swagger/src/main/java" charset="UTF-8" />
|
||||
|
||||
@@ -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;
|
||||
|
||||
BIN
uploads/2026/01/11/13d6582388f042e1b1f5ab52410e8ebe.webp
Normal file
BIN
uploads/2026/01/11/13d6582388f042e1b1f5ab52410e8ebe.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 91 KiB |
BIN
uploads/2026/01/11/85c7a63517d742249c846caa54af1abb.jpg
Normal file
BIN
uploads/2026/01/11/85c7a63517d742249c846caa54af1abb.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 198 KiB |
BIN
uploads/2026/01/11/8fad1e1e8c764cf19e39756a6bd9a026.png
Normal file
BIN
uploads/2026/01/11/8fad1e1e8c764cf19e39756a6bd9a026.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 MiB |
BIN
uploads/2026/01/12/903a0b99e68c4552b687119b8474a309.webp
Normal file
BIN
uploads/2026/01/12/903a0b99e68c4552b687119b8474a309.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 91 KiB |
BIN
uploads/2026/01/12/97b2b44e3d0c4f64bedec71f9367ebc4.jpg
Normal file
BIN
uploads/2026/01/12/97b2b44e3d0c4f64bedec71f9367ebc4.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 120 KiB |
BIN
uploads/2026/01/12/b7198cdf45f54a98976426747f015184.jpg
Normal file
BIN
uploads/2026/01/12/b7198cdf45f54a98976426747f015184.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 198 KiB |
Reference in New Issue
Block a user