From bb47400b30b3d8b4f147cdaafbcdcd6889b71a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Tue, 12 Aug 2025 00:09:28 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E5=88=87=E6=8D=A2=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E9=85=8D=E7=BD=AE=E5=B9=B6=E6=B7=BB=E5=8A=A0=20API=20?= =?UTF-8?q?URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -将 spring.profiles.active 从 prod 改为 dev - 在配置文件中添加 api-url 属性 --- src/main/resources/application.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 8ced4b2..bc28c83 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -4,7 +4,7 @@ server: # 多环境配置 spring: profiles: - active: prod + active: dev application: name: server @@ -93,6 +93,8 @@ config: server-url: https://server.websoft.top/api # 文件服务器 file-server: https://file.wsdns.cn + # 其他 + api-url: https://server.websoft.top/api upload-path: /Users/gxwebsoft/Documents/uploads/ local-upload-path: /Users/gxwebsoft/Documents/uploads/