刘一凡 3 yıl önce
ebeveyn
işleme
d868b6defa

+ 3 - 0
src/main/java/com/chuanghai/h3c_reporting/controller/WxController.java

@@ -62,6 +62,9 @@ public class WxController {
             ResponseEntity<String> responsem = restTemplate.postForEntity(userInfoUrl, requestM, String.class);
 
             JSONObject resPhoneInfo = JSON.parseObject(responsem.getBody());
+
+            System.out.println(resPhoneInfo);
+
             JSONObject phoneInfo = resPhoneInfo.getJSONObject("phone_info");
             String phoneNumber = phoneInfo.get("phoneNumber").toString();
 

+ 5 - 10
src/main/resources/application.yml

@@ -1,6 +1,5 @@
 server:
   port: 8888
-#  port: 9999
   servlet:
     context-path: /reporting
 
@@ -12,12 +11,8 @@ spring:
   datasource:
     url: jdbc:mysql://localhost:3306/h3c_reporting?characterEncoding=utf-8&useSSL=FALSE&useAffectedRows=TRUE&allowMultiQueries=true&serverTimezone=GMT%2B8
     driver-class-name: com.mysql.cj.jdbc.Driver
-    # 本机
-#    username: root
-#    password: 20010420
-    # 测试服务器
     username: root
-    password: CH_SC_SQL_49
+    password: h3creporting
 
 mybatis-plus:
   mapper-locations: classpath:/mapper/ihotel/*.xml
@@ -38,11 +33,11 @@ my-security:
 
 #微信小程序相关配置
 wx:
-  app_id: wx2fc3f45732fae5d3
-  secret: 7eee4a49a4470a77f9222995e8511547
+  app_id: wxc0c7fcf01e0a3442
+  secret: 5ef167b75add4e2d7a6a031b06946265
 
 file:
   # 存
-  imgPath: /home/reporting/reportImg/
+  imgPath: /data/nginx/html/reportImg/
   # 取
-  imgPathDown: https://chtech.ncjti.edu.cn/gradiate-school/reportImg/
+  imgPathDown: https://jiangxih3cpartner.com/reportImg/

Dosya farkı çok büyük olduğundan ihmal edildi
+ 85 - 85
src/main/resources/static/doc/index.html