Yansen 9 maanden geleden
bovenliggende
commit
1f44fa3cc4
2 gewijzigde bestanden met toevoegingen van 11 en 5 verwijderingen
  1. 1
    1
      pom.xml
  2. 10
    4
      src/main/resources/application-prod.yml

+ 1
- 1
pom.xml Bestand weergeven

10
     </parent>
10
     </parent>
11
     <groupId>com.example</groupId>
11
     <groupId>com.example</groupId>
12
     <artifactId>civilizedCity</artifactId>
12
     <artifactId>civilizedCity</artifactId>
13
-    <version>0.0.23</version>
13
+    <version>0.0.24</version>
14
     <name>civilizedCity</name>
14
     <name>civilizedCity</name>
15
     <description>civilizedCity</description>
15
     <description>civilizedCity</description>
16
     <properties>
16
     <properties>

+ 10
- 4
src/main/resources/application-prod.yml Bestand weergeven

3
 
3
 
4
 spring:
4
 spring:
5
   datasource:
5
   datasource:
6
-    url: jdbc:mysql://rm-2ze1a4hqb68h7ud14fo.mysql.rds.aliyuncs.com:3306/civilizedcity_h5_demo?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
6
+    url: jdbc:mysql://127.0.0.1:3306/civilizedcity?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
7
     username: civilizedcity
7
     username: civilizedcity
8
     password: mYysYctlX*r5-@7^3$umS!J$n~nJTgnS
8
     password: mYysYctlX*r5-@7^3$umS!J$n~nJTgnS
9
     hikari:
9
     hikari:
21
       # 连接活性检测 6000 - 1 分钟
21
       # 连接活性检测 6000 - 1 分钟
22
       keepalive-time: 6000
22
       keepalive-time: 6000
23
 
23
 
24
+# 日志配置
25
+logging:
26
+  level:
27
+    root: info
28
+    web: debug
29
+
24
 ###
30
 ###
25
 yz:
31
 yz:
26
   upload:
32
   upload:
27
-    path: /opt/yunzhi/civiliziedcity_h5_demo/upload
28
-    prefix: https://wmcj.ycjcjy.com
33
+    path: /opt/civiliziedcity/upload
34
+    prefix: http://wmb.pzhkai.cn/upload
29
   excel:
35
   excel:
30
     tpl:
36
     tpl:
31
-      check: /opt/yunzhi/civiliziedcity_h5_demo/check_tpl.xlsx
37
+      check: /opt/civiliziedcity/service/check_tpl.xlsx
32
   filter:
38
   filter:
33
     annList:
39
     annList:
34
       - "/swagger-ui/**"
40
       - "/swagger-ui/**"