胡轶钦 5 anni fa
parent
commit
6328313d51
3 ha cambiato i file con 116 aggiunte e 0 eliminazioni
  1. 12
    0
      pom.xml
  2. 52
    0
      src/main/resources/application-gzysd.yml
  3. 52
    0
      src/main/resources/application-hj.yml

+ 12
- 0
pom.xml Vedi File

@@ -150,6 +150,18 @@
150 150
 				<profiles.active>nj</profiles.active>
151 151
 			</properties>
152 152
 		</profile>
153
+		<profile>
154
+			<id>hj</id>
155
+			<properties>
156
+				<profiles.active>hj</profiles.active>
157
+			</properties>
158
+		</profile>
159
+		<profile>
160
+			<id>gzysd</id>
161
+			<properties>
162
+				<profiles.active>gzysd</profiles.active>
163
+			</properties>
164
+		</profile>
153 165
 	</profiles>
154 166
 	<build>
155 167
 		<plugins>

+ 52
- 0
src/main/resources/application-gzysd.yml Vedi File

@@ -0,0 +1,52 @@
1
+server:
2
+  port: 8009
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/estateagents_gzysd?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: wxe3b1e683853800b5
29
+    secret: 207dd6d0f807b2dd0d41b57a8184365f
30
+    token:
31
+    aesKey:
32
+    msgDataFormat: JSON
33
+  tpls:
34
+    - name: notice
35
+      id: IVWM-wpzSNV6CyXeSBGBgRku2lRrZ-3x4vXRILQpHM0
36
+      keywords: 4
37
+    - name: newCustomer
38
+      id: WiBYjqkE9KvwDv1WSq5vnuv5A6FSaOB8ETFcrVmtCEI
39
+      keywords: 4
40
+    - name: mainbiz
41
+      id: IywdSfNPegeg5GB3Q-TVieSYD9DA0im8eI-hF_u0i-4
42
+
43
+      keywords: 6
44
+ali:
45
+  accessKeyId: LTAIkc75dpkJw8Lb
46
+  accessKeySecret: v4bvXCaix6vSDTCFfwSAdqV53iFEQw
47
+  oss:
48
+    endpoint: oss-cn-shanghai.aliyuncs.com
49
+    bucketName: estateagents
50
+    bucketURL: https://estateagents.oss-cn-shanghai.aliyuncs.com
51
+
52
+

+ 52
- 0
src/main/resources/application-hj.yml Vedi File

@@ -0,0 +1,52 @@
1
+server:
2
+  port: 8011
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/estateagents_hj?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: wx03aca9d7d9b0b7f1
29
+    secret: f85aa21010204969b0f9a16f81de8a4b
30
+    token:
31
+    aesKey:
32
+    msgDataFormat: JSON
33
+  tpls:
34
+    - name: notice
35
+      id: Dflyeuyy76tCpam6OfVMblBaiog9fBt4NGAxbLPQ6AI
36
+      keywords: 4
37
+    - name: newCustomer
38
+      id: WiBYjqkE9KvwDv1WSq5vnuv5A6FSaOB8ETFcrVmtCEI
39
+      keywords: 4
40
+    - name: mainbiz
41
+      id: BDrgtJK9zul0gtHhHwY31x7kDH8BWGJxKvkj1wPzB4E
42
+
43
+      keywords: 6
44
+ali:
45
+  accessKeyId: LTAIkc75dpkJw8Lb
46
+  accessKeySecret: v4bvXCaix6vSDTCFfwSAdqV53iFEQw
47
+  oss:
48
+    endpoint: oss-cn-shanghai.aliyuncs.com
49
+    bucketName: estateagents
50
+    bucketURL: https://estateagents.oss-cn-shanghai.aliyuncs.com
51
+
52
+