张延森 3 년 전
부모
커밋
9b601b318b

+ 1
- 1
pom.xml 파일 보기

10
 	</parent>
10
 	</parent>
11
 	<groupId>com.huiju</groupId>
11
 	<groupId>com.huiju</groupId>
12
 	<artifactId>xiangsong</artifactId>
12
 	<artifactId>xiangsong</artifactId>
13
-	<version>1.2.1</version>
13
+	<version>1.3.1</version>
14
 	<name>xiangsong</name>
14
 	<name>xiangsong</name>
15
 	<description>香颂</description>
15
 	<description>香颂</description>
16
 
16
 

+ 2
- 3
src/main/java/com/huiju/estateagents/common/smsService/Captcha.java 파일 보기

23
     @Value("${sms-service.captcha.code}")
23
     @Value("${sms-service.captcha.code}")
24
     String code;
24
     String code;
25
 
25
 
26
-    @Value("${sms-service.captcha.product}")
27
-    String product;
26
+//    @Value("${sms-service.captcha.product}")
27
+//    String product;
28
 
28
 
29
     @Value("${sms-service.captcha.sign}")
29
     @Value("${sms-service.captcha.sign}")
30
     String sign;
30
     String sign;
51
 
51
 
52
         Map<String, String> content = new HashMap<>();
52
         Map<String, String> content = new HashMap<>();
53
         content.put("code", captcha);
53
         content.put("code", captcha);
54
-        content.put("product", product);
55
 
54
 
56
         Phone phone = new Phone()
55
         Phone phone = new Phone()
57
                 .setNumber(tel)
56
                 .setNumber(tel)

+ 2
- 1
src/main/java/com/huiju/estateagents/common/smsService/Service.java 파일 보기

37
     IAcsClient acsClient;
37
     IAcsClient acsClient;
38
 
38
 
39
     public void sendMessage(Message message) throws Exception {
39
     public void sendMessage(Message message) throws Exception {
40
-        request(message);
40
+        CommonResponse request = request(message);
41
+        log.info("发送结果: [{}] {}", request.getHttpStatus(), request.getData());
41
     }
42
     }
42
 
43
 
43
     private CommonResponse request(Message message) throws Exception {
44
     private CommonResponse request(Message message) throws Exception {

+ 8
- 8
src/main/resources/application-prod.yml 파일 보기

5
     name: zhiyun
5
     name: zhiyun
6
   datasource:
6
   datasource:
7
     username: xiangsong
7
     username: xiangsong
8
-    password: xiangsong@123
9
-    url: jdbc:mysql://rm-uf6z3z6jq11x653d77o.mysql.rds.aliyuncs.com:3306/xiangsong?useUnicode=true&serverTimezone=CTT&characterEncoding=utf8&allowMultiQueries=true&autoReconnect=true&zeroDateTimeBehavior=convertToNull
8
+    password: fg+(!rci(_VFu3GATVP
9
+    url: jdbc:mysql://rm-7xv0r7259e2x7g2zdoo.mysql.rds.aliyuncs.com:3306/xiangsong?useUnicode=true&serverTimezone=CTT&characterEncoding=utf8&allowMultiQueries=true&autoReconnect=true&zeroDateTimeBehavior=convertToNull
10
     driver-class-name: com.mysql.cj.jdbc.Driver
10
     driver-class-name: com.mysql.cj.jdbc.Driver
11
     initial-size: 10 # 初始化连接数
11
     initial-size: 10 # 初始化连接数
12
     max-active: 20 # 最大连接数
12
     max-active: 20 # 最大连接数
40
       id: WiBYjqkE9KvwDv1WSq5vniGU4P0gvwlat-5ENYKpfxg
40
       id: WiBYjqkE9KvwDv1WSq5vniGU4P0gvwlat-5ENYKpfxg
41
       keywords: 6
41
       keywords: 6
42
 ali:
42
 ali:
43
-  accessKeyId: LTAIGQtIi28MfXms
44
-  accessKeySecret: b6maakcdzEywmkhcK15rStx54hOiIA
43
+  accessKeyId: LTAI5tCLQSf3yqoXfSuyjpvy
44
+  accessKeySecret: A5WfR03R7f3cmgs0OVxlahDAx13yB2
45
   oss:
45
   oss:
46
-    endpoint: oss-cn-shanghai.aliyuncs.com
47
-    bucketName: zhiyun-image
48
-    bucketURL: https://zhiyun-image.oss-accelerate.aliyuncs.com
46
+    endpoint: oss-cn-guangzhou.aliyuncs.com
47
+    bucketName: yuandao-image
48
+    bucketURL: https://yuandao-image.oss-cn-guangzhou.aliyuncs.com
49
 
49
 
50
 # 手机短信服务
50
 # 手机短信服务
51
 sms:
51
 sms:
86
 
86
 
87
 # 支付回调
87
 # 支付回调
88
 pay-new-notify:
88
 pay-new-notify:
89
-  wx-bill-notify: https://xs.njyunzhi.com/api/wxBillNotify
89
+  wx-bill-notify: https://api.gxyd.com/api/wxBillNotify
90
   ali-bill-notify:
90
   ali-bill-notify:
91
   wx-car-notify:
91
   wx-car-notify:
92
   ali-car-notify:
92
   ali-car-notify:

+ 7
- 7
src/main/resources/application.yml 파일 보기

4
     active: @profiles.active@
4
     active: @profiles.active@
5
 
5
 
6
 sms-service:
6
 sms-service:
7
-  accessKeyId: LTAIGQtIi28MfXms
8
-  accessKeySecret: b6maakcdzEywmkhcK15rStx54hOiIA
7
+  accessKeyId: LTAI5tCLQSf3yqoXfSuyjpvy
8
+  accessKeySecret: A5WfR03R7f3cmgs0OVxlahDAx13yB2
9
   captcha:
9
   captcha:
10
-    code: SMS_27440200
11
-    product: 【远道荟】
12
-    sign: 身份验证
10
+    code: SMS_226835231
11
+#    product: 【远道荟】
12
+    sign: 远道荟
13
 
13
 
14
 wx:
14
 wx:
15
   miniapp:
15
   miniapp:
17
     ticket: pages/WoDe/YeZhuBaoXiu/index?id=
17
     ticket: pages/WoDe/YeZhuBaoXiu/index?id=
18
     propertyPay: pages/WuYe/index?type=4
18
     propertyPay: pages/WuYe/index?type=4
19
   mp:
19
   mp:
20
-    festivalH5: https://xs.njyunzhi.com/jierih5.html
21
-    birthdayH5: https://xs.njyunzhi.com/shengrih5.html
20
+    festivalH5: https://api.gxyd.com/jierih5.html
21
+    birthdayH5: https://api.gxyd.com/shengrih5.html
22
 
22
 
23
 biz:
23
 biz:
24
   room:
24
   room: