Переглянути джерело

服务号接口升级成https

lighter 1 рік тому
батько
коміт
726c6db78c

+ 1 - 1
src/main/java/thyyxxk/webserver/controller/examinations/LisDockController.java

@@ -68,7 +68,7 @@ public class LisDockController {
                 "\"idCard\": \"430224200011080009\",\n" +
                 "\"sex\": \"女\",\n" +
                 "\"name\": \"王五司\",\n" +
-                "\"reportUrl\": \"http://staticweb.hnthyy.cn/inspections/211108146000083-729301168284567552.jpg\",\n" +
+                "\"reportUrl\": \"https://staticweb.hnthyy.cn/inspections/211108146000083-729301168284567552.jpg\",\n" +
                 "\"type\": \"2\",\n" +
                 "\"age\": \"21\",\n" +
                 "\"barCode\": \"211111146000001\"\n" +

+ 1 - 1
src/main/java/thyyxxk/webserver/service/examinations/LisDockService.java

@@ -33,7 +33,7 @@ import java.util.*;
 @Service
 public class LisDockService {
     private final static String APP_ID = "jkzd5e26bf01c5a0d79";
-    private final static String IMG_URL_PREFIX = "http://staticweb.hnthyy.cn/inspections/";
+    private final static String IMG_URL_PREFIX = "https://staticweb.hnthyy.cn/inspections/";
     private static final String GET_CUSTOMER_INFO = "https://api.hnocc.com/commonInterface/selectUserInfo"; // 线上
     private static final String PUSH_RESULT = "https://api.hnocc.com/commonInterface/pushResult"; // 线上
     private final InspectionsDao dao;

+ 1 - 1
src/main/java/thyyxxk/webserver/service/externalhttp/Html2ImgSrvc.java

@@ -8,6 +8,6 @@ import java.util.Map;
 
 public interface Html2ImgSrvc {
 
-    @Post("http://192.168.200.3/htmlToImage/healthCardImage/execute")
+    @Post("https://staticweb.hnthyy.cn/htmlToImage/healthCardImage/execute")
     Map<String, Object> execute(@JSONBody HealthCardResult param);
 }