Bladeren bron

estatsagent-jj

胡轶钦 5 jaren geleden
bovenliggende
commit
73417edfa6
2 gewijzigde bestanden met toevoegingen van 58 en 0 verwijderingen
  1. 6
    0
      pom.xml
  2. 52
    0
      src/main/resources/application-jj.yml

+ 6
- 0
pom.xml Bestand weergeven

@@ -162,6 +162,12 @@
162 162
 				<profiles.active>gzysd</profiles.active>
163 163
 			</properties>
164 164
 		</profile>
165
+		<profile>
166
+			<id>jj</id>
167
+			<properties>
168
+				<profiles.active>jj</profiles.active>
169
+			</properties>
170
+		</profile>
165 171
 	</profiles>
166 172
 	<build>
167 173
 		<plugins>

+ 52
- 0
src/main/resources/application-jj.yml Bestand weergeven

@@ -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_jj?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: wx7183d7d918a426d3
29
+    secret: d06320d36d0b706f981da20b796c5875
30
+    token:
31
+    aesKey:
32
+    msgDataFormat: JSON
33
+  tpls:
34
+    - name: notice
35
+      id: 80jdxzuPITEffVNC1KD1IGvbOxGkipTJlrxPosQrz0s
36
+      keywords: 4
37
+    - name: newCustomer
38
+      id: WiBYjqkE9KvwDv1WSq5vnuv5A6FSaOB8ETFcrVmtCEI
39
+      keywords: 4
40
+    - name: mainbiz
41
+      id: UbuzqEqULHf_NAZHay_3RJPGHm1g11YYU2R66ASq5Uw
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
+