Browse Source

更新配置文件

M墨鱼—_mo 5 năm trước cách đây
mục cha
commit
02b2b4edaf

+ 1 - 0
src/main/java/com/jpsoft/smart/modules/wechat/controller/WxController.java

@@ -504,6 +504,7 @@ public class WxController {
         }
 
         JSONObject resultJSON = apiUtil.httpRequest("https://api.parkline.cc/api/facecgi", apiToken, "300", "215301", "01", bindFaceVo.getPhoneNum(), bindFaceVo.getFiledata());
+        System.out.println("返回码:"+resultJSON.getInteger("code")+"-------------");
         if (!resultJSON.getString("code").equals("100101")) {
             code = resultJSON.getInteger("code");
             if (code == 100100) {

+ 11 - 6
src/main/resources/application-test.yml

@@ -1,13 +1,13 @@
 server:
-  port: 8080
+  port: 9192
   servlet:
     context-path: /smart-community-server
 
 spring:
   datasource:
-    url: jdbc:log4jdbc:mysql://192.168.33.20:3306/smart-community?autoReconnect=true&characterEncoding=utf8&serverTimezone=GMT%2B8
-    username: smart
-    password: smart
+    url: jdbc:log4jdbc:mysql://127.0.0.1:3306/smart-community?autoReconnect=true&characterEncoding=utf8&serverTimezone=GMT%2B8
+    username: root
+    password: slgo^Root_!Q@W#E)P(O*I
   devtools:
     restart:
       enabled: true
@@ -23,7 +23,7 @@ springfox:
   documentation:
     swagger:
       v2:
-        host: 58.54.251.155:8088
+        host: 101.37.31.116:8088
 
 #测试环境
 alipay:
@@ -36,4 +36,9 @@ alipay:
   appAuthToken: 201906BBbc7d6558596f4bbc9f056c01b8aebX48
   signType: RSA2
   notifyUrl: http://18891j25i6.iok.la:40309/epay-server/aliPay/payNotify
-  body: 测试
+  body: 测试
+
+wx:
+  pay:
+    appId: wx7e70eb62a8459869
+    appSecret: 909d17e353268da57c4f18cc09798049

+ 3 - 1
src/main/resources/application.yml

@@ -1,5 +1,5 @@
 server:
-  port: 8080
+  port: 9192
   servlet:
     context-path: /smart-community-server
 
@@ -62,10 +62,12 @@ spring:
     database: 1
     # Redis服务器地址
     host: 192.168.33.21
+    #host: 127.0.0.1
     # Redis服务器连接端口
     port: 6379
     # Redis服务器连接密码(默认为空)
     password:
+    #password: 123456
     # 连接池最大连接数(使用负值表示没有限制)
     pool:
       max-active: 8