From e3bac98f092a10c0e897143bece3abbcc59469f2 Mon Sep 17 00:00:00 2001 From: cjl <276999030@qq.com> Date: Fri, 27 Oct 2023 10:06:24 +0800 Subject: [PATCH] fix:小程序提交 --- screen-api/src/main/resources/application-qa.yml | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/screen-api/src/main/resources/application-qa.yml b/screen-api/src/main/resources/application-qa.yml index 78bf4a3..f9dde1a 100644 --- a/screen-api/src/main/resources/application-qa.yml +++ b/screen-api/src/main/resources/application-qa.yml @@ -1,5 +1,7 @@ server: port: 8081 + servlet: + context-path: /api tomcat: uri-encoding: UTF-8 #��������������� @@ -16,6 +18,8 @@ include: bulletin, specialCity, announcement application: name: screen-api + main: + allow-bean-definition-overriding: true redis: host: r-bp1hez4g7rkqjswpaypd1.redis.rds.aliyuncs.com port: 6379 @@ -53,7 +57,7 @@ filters: stat type: com.alibaba.druid.pool.DruidDataSource max-wait: 60000 - url: jdbc:mysql://172.16.44.71:3306/moral?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai + url: jdbc:mysql://121.199.44.85:3306/moral?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai username: root password: moral_123456 test-on-borrow: false @@ -118,13 +122,15 @@ interceptor: exclude: - /login + - /AppUser/** - /swagger-ui.html - /swagger-resources/** - /swagger-ui.html/** - /webjars/** - /verificationCode/** - /static/** - - /file/** + - /doc.html + - /file/preview/** AES: @@ -134,3 +140,5 @@ KEY: foh3wi2ooghiCh5 +file: + path: /data/upload/ \ No newline at end of file -- Gitblit v1.8.0