From 02340c7c45561d31119eb0de659bd1648667c235 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期三, 12 三月 2025 17:53:34 +0800 Subject: [PATCH] 移除yaml配置 --- /dev/null | 10 ---------- iailab-plat-sdk/src/main/java/com/iailab/sdk/auth/config/SdkAutoConfiguration.java | 2 +- 2 files changed, 1 insertions(+), 11 deletions(-) diff --git a/iailab-plat-sdk/src/main/java/com/iailab/sdk/auth/config/SdkAutoConfiguration.java b/iailab-plat-sdk/src/main/java/com/iailab/sdk/auth/config/SdkAutoConfiguration.java index 651da56..6fe5336 100644 --- a/iailab-plat-sdk/src/main/java/com/iailab/sdk/auth/config/SdkAutoConfiguration.java +++ b/iailab-plat-sdk/src/main/java/com/iailab/sdk/auth/config/SdkAutoConfiguration.java @@ -21,7 +21,7 @@ */ @Configuration @PropertySource( - value = "classpath:auth.yaml", + value = "classpath:application.yaml", factory = YamlPropertySourceFactory.class // 使用自定义加载器 ) public class SdkAutoConfiguration { diff --git a/iailab-plat-sdk/src/main/resources/auth.yaml b/iailab-plat-sdk/src/main/resources/auth.yaml deleted file mode 100644 index 4c59ca7..0000000 --- a/iailab-plat-sdk/src/main/resources/auth.yaml +++ /dev/null @@ -1,10 +0,0 @@ -# 平台配置项,设置当前项目所有自定义的配置,token中的配置需要事先在平台配置好 -iailab: - token: - base-url: http://172.16.8.100/admin-api #平台接口url,使用时需修改成真实的ip和端口 - tenant-id: 172 #租户id - client-id: shasteel #租户OAuth2客户端id - client-secret: shasteel111111111111111 #租户OAuth2客户端密钥 - username: shasteel #租户登录账号 - password: 123456 #租户登录密码 - -- Gitblit v1.9.3