|
@@ -0,0 +1,74 @@
|
|
1
|
+server:
|
|
2
|
+ port: 8080
|
|
3
|
+spring:
|
|
4
|
+ application:
|
|
5
|
+ name: estateagents
|
|
6
|
+ datasource:
|
|
7
|
+ username: estateagents
|
|
8
|
+ password: estateagents
|
|
9
|
+ url: jdbc:mysql://47.101.36.130:3306/estateagents_3.5.1_test?useUnicode=true&serverTimezone=GMT%2B8&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: wxd6f47a9bb3052175
|
|
29
|
+ secret: 28f33b6bbc0f778c11a0bb234a7d6d4e
|
|
30
|
+ token:
|
|
31
|
+ aesKey:
|
|
32
|
+ msgDataFormat: JSON
|
|
33
|
+ tpls:
|
|
34
|
+ - name: notice
|
|
35
|
+ id: 6hWKexNlaVpAOvrcWxHHQ_Duz1gRIkg2-Clsktp2-Os
|
|
36
|
+ keywords: 4
|
|
37
|
+ - name: newCustomer
|
|
38
|
+ id: WiBYjqkE9KvwDv1WSq5vnuv5A6FSaOB8ETFcrVmtCEI
|
|
39
|
+ keywords: 4
|
|
40
|
+ - name: mainbiz
|
|
41
|
+ id: WiBYjqkE9KvwDv1WSq5vniGU4P0gvwlat-5ENYKpfxg
|
|
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
|
+# 手机短信服务
|
|
52
|
+sms:
|
|
53
|
+ url: http://101.200.84.17:8081/sms
|
|
54
|
+ method: POST
|
|
55
|
+ contentType: "application/json;charset=UTF-8"
|
|
56
|
+ template:
|
|
57
|
+ code:
|
|
58
|
+ tel:
|
|
59
|
+ params:
|
|
60
|
+
|
|
61
|
+ # 以下为各模板 code
|
|
62
|
+ # 验证码
|
|
63
|
+ captcha:
|
|
64
|
+ # 模板 code
|
|
65
|
+ code: "0301"
|
|
66
|
+ # 有效时间 秒
|
|
67
|
+ expire: 120
|
|
68
|
+ # 验证码长度
|
|
69
|
+ size: 4
|
|
70
|
+ # 短信签名
|
|
71
|
+ sign: 营销云
|
|
72
|
+
|
|
73
|
+ visitor:
|
|
74
|
+ code: "0501"
|