From 3deac71914d38bea89a0521fcb92e7d919c11927 Mon Sep 17 00:00:00 2001 From: dinggang <2498628697@qq.com> Date: Thu, 21 Apr 2022 15:28:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=BF=9D=E5=AD=98=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- renren-admin/src/main/resources/application-dev.yml | 6 ++++++ renren-admin/src/main/resources/application-prod.yml | 4 +++- renren-admin/src/main/resources/application-test.yml | 8 +++++++- renren-admin/src/main/resources/application.yml | 5 ----- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/renren-admin/src/main/resources/application-dev.yml b/renren-admin/src/main/resources/application-dev.yml index f11dd7f0..20b7d853 100644 --- a/renren-admin/src/main/resources/application-dev.yml +++ b/renren-admin/src/main/resources/application-dev.yml @@ -49,6 +49,12 @@ spring: config: multi-statement-allow: true +#上传的静态资源配置 +resource: + root_url: 15.2.21.238 + path: /home/yth/files/ + devModelFilePath: /home/yth/files/resource + ##多数据源的配置,需要引用renren-dynamic-datasource #dynamic: # datasource: diff --git a/renren-admin/src/main/resources/application-prod.yml b/renren-admin/src/main/resources/application-prod.yml index 385d3856..55a3c001 100644 --- a/renren-admin/src/main/resources/application-prod.yml +++ b/renren-admin/src/main/resources/application-prod.yml @@ -32,6 +32,8 @@ spring: wall: config: multi-statement-allow: true +#上传的静态资源配置 resource: root_url: 15.2.21.238 - path: /home/yth/files/ \ No newline at end of file + path: /data/services/nengli/files/ + devModelFilePath: /data/services/nengli/files/resource \ No newline at end of file diff --git a/renren-admin/src/main/resources/application-test.yml b/renren-admin/src/main/resources/application-test.yml index 8e237325..00d88a91 100644 --- a/renren-admin/src/main/resources/application-test.yml +++ b/renren-admin/src/main/resources/application-test.yml @@ -31,4 +31,10 @@ spring: merge-sql: false wall: config: - multi-statement-allow: true \ No newline at end of file + multi-statement-allow: true + +#上传的静态资源配置 +resource: + root_url: 15.2.21.238 + path: /home/yth/files/ + devModelFilePath: /home/yth/files/resource \ No newline at end of file diff --git a/renren-admin/src/main/resources/application.yml b/renren-admin/src/main/resources/application.yml index 88c72531..7f120d30 100644 --- a/renren-admin/src/main/resources/application.yml +++ b/renren-admin/src/main/resources/application.yml @@ -1,8 +1,3 @@ -#上传的静态资源配置 -resource: - root_url: 15.2.21.238 - path: /home/yth/files/ - devModelFilePath: /home/yth/files/resource # Tomcat server: tomcat: