From 409eef8ae15230843473cf331fb42da19a4a7476 Mon Sep 17 00:00:00 2001 From: chen <1251790704@qq.com> Date: Wed, 25 Aug 2021 16:29:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/application-chaohu.properties | 29 +++++++++++++++++++ src/main/resources/application.properties | 1 + 2 files changed, 30 insertions(+) create mode 100644 src/main/resources/application-chaohu.properties create mode 100644 src/main/resources/application.properties diff --git a/src/main/resources/application-chaohu.properties b/src/main/resources/application-chaohu.properties new file mode 100644 index 0000000..7ccc535 --- /dev/null +++ b/src/main/resources/application-chaohu.properties @@ -0,0 +1,29 @@ +#\u804C\u7AD9\u9879\u76EE\u7BA1\u7406\u914D\u7F6E +server.port=9002 +server.servlet.context-path=/project + +#\u6B63\u5F0F\u6570\u636E\u5E93\u8FDE\u63A5 +spring.datasource.url=jdbc:mysql://rm-wz90d92p0pf083nxzno.mysql.rds.aliyuncs.com:3306/chaohu?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai +spring.datasource.username=root +spring.datasource.password=HuoRan@2021 +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver + +spring.jackson.default-property-inclusion=non_null + +spring.redis.database=0 +spring.redis.host=127.0.0.1 +spring.redis.password= +spring.redis.port=6379 +spring.redis.timeout=3000 + +auth.openInterceptStr= +auth.permitUrl= + + +#\u65E5\u5FD7\u7EA7\u522B +logging.level.jdbc=OFF +logging.level.jdbc.sqltiming=DEBUG +logging.level.jdbc.resultsettable=DEBUG +logging.level.com.yipin.liuwar.mapper=DEBUG +logging.level.com.yipin.liuwanr.mapper=DEBUG + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..8660dd3 --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.profiles.active=chaohu \ No newline at end of file