Przeglądaj źródła

estateagents-nj

胡轶钦 5 lat temu
rodzic
commit
471cda388e
1 zmienionych plików z 51 dodań i 0 usunięć
  1. 51
    0
      src/main/resources/application-nj.yml

+ 51
- 0
src/main/resources/application-nj.yml Wyświetl plik

@@ -0,0 +1,51 @@
1
+server:
2
+  port: 8003
3
+spring:
4
+  application:
5
+    name: estateagents
6
+  datasource:
7
+    username: estateagents
8
+    password: DQ@0lW##kBb2+-jPZ
9
+    url: jdbc:mysql://rm-uf6z3z6jq11x653d77o.mysql.rds.aliyuncs.com:3306/estateagents2?useUnicode=true&serverTimezone=CTT&characterEncoding=utf8&allowMultiQueries=true&autoReconnect=true&zeroDateTimeBehavior=convertToNull
10
+    driver-class-name: com.mysql.cj.jdbc.Driver
11
+    initial-size: 10 # 初始化连接数
12
+    max-active: 20 # 最大连接数
13
+    min-idle: 8 # 最小空闲数
14
+    max-idle: 8 # 最大空闲数
15
+  servlet:
16
+    multipart:
17
+      max-file-size: 10MB
18
+      max-request-size: 50MB
19
+
20
+##mybatis-plus
21
+mybatis-plus:
22
+  configuration:
23
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
24
+    call-setters-on-nulls: true
25
+  mapper-locations: classpath:mapper/*.xml
26
+wx:
27
+  miniapp:
28
+    appid: wx09cd665abf378db7
29
+    secret: a6cbd778272c87426952b5a1f8449698
30
+    token:
31
+    aesKey:
32
+    msgDataFormat: JSON
33
+  tpls:
34
+    - name: notice
35
+      id: thSzcSAhIHiZZuCdydBsoB-dSa_g72vHgqo9e_CltNM
36
+      keywords: 4
37
+    - name: newCustomer
38
+      id: WiBYjqkE9KvwDv1WSq5vnuv5A6FSaOB8ETFcrVmtCEI
39
+      keywords: 4
40
+    - name: mainbiz
41
+      id: iJLceA_zp1fq9xnL4yV8IOwWGeFHebCO-HxNtcPYLoA
42
+      keywords: 6
43
+ali:
44
+  accessKeyId: LTAIkc75dpkJw8Lb
45
+  accessKeySecret: v4bvXCaix6vSDTCFfwSAdqV53iFEQw
46
+  oss:
47
+    endpoint: oss-cn-shanghai.aliyuncs.com
48
+    bucketName: estateagents
49
+    bucketURL: https://estateagents.oss-cn-shanghai.aliyuncs.com
50
+
51
+