Преглед изворни кода

微信服务号接口改https

lighter пре 1 година
родитељ
комит
c868b2c7c6

+ 2 - 2
src/main/java/cn/hnthyy/thmz/service/impl/thmz/OrderStatusChangeServiceImpl.java

@@ -105,7 +105,7 @@ public class OrderStatusChangeServiceImpl implements OrderStatusChangeService {
                 }
                 //进行挂号支付的链接
                 String params = mzyReqrec.getPatientId()+"_"+mzyReqrec.getTimes();
-                String url="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=http://staticweb.hnthyy.cn/wxserver/redirect/page2?to=payClinicAppointmentOrder_"+params+"&response_type=code&scope=snsapi_base&state=1#wechat_redirect";
+                String url="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=https://staticweb.hnthyy.cn/wxserver/redirect/page2?to=payClinicAppointmentOrder_"+params+"&response_type=code&scope=snsapi_base&state=1#wechat_redirect";
                 haiCiAdapterService.commonMessageNotice(mzPatientMi.getIcCardNo(), "{\"data\":{\"first\":{\"color\":\"#FF0000\",\"value\":\"您好,您已预约挂号成功,请在就诊前支付,以免影响就诊!\"},\"keyword1\":{\"color\":\"#173177\",\"value\":\"" + mzPatientMi.getName() + "\"},\"keyword2\":{\"color\":\"#173177\",\"value\":\"" + zdUnitCode.getName() + "\"},\"keyword3\":{\"color\":\"#173177\",\"value\":\"" + DateUtil.fomart(mzyReqrec.getRequestDay(),"yyyy-MM-dd") + "\"},\"keyword4\":{\"color\":\"#173177\",\"value\":\"" + workTime + "\"},\"remark\":{\"color\":\"#FF0000\",\"value\":\"过就诊时段不交费,将无法进行就诊。\"}},\"miniprogram\":{\"appid\":\"\",\"pagepath\":\"\"},\"template_id\":\"bFM8MrBxD44otLayuBjXHoTjEtqrw95_Cej--tNdFDE\",\"touser\":\"\",\"url\":\""+url+"\"}", new Date());
                 return;
             }
@@ -138,7 +138,7 @@ public class OrderStatusChangeServiceImpl implements OrderStatusChangeService {
             }
 
             if (OrderStatusEnum.PRESCRIPTION_TO_BE_PAID.code.equals(status)) {
-                String url="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=http://staticweb.hnthyy.cn/wxserver/redirect/page2?to=unPaidList_"+patientInfo[0]+"&response_type=code&scope=snsapi_base&state=1#wechat_redirect";
+                String url="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=https://staticweb.hnthyy.cn/wxserver/redirect/page2?to=unPaidList_"+patientInfo[0]+"&response_type=code&scope=snsapi_base&state=1#wechat_redirect";
                 haiCiAdapterService.commonMessageNotice(mzPatientMi.getIcCardNo(), "{\"data\":{\"first\":{\"color\":\"#FF0000\",\"value\":\"您好,您有一笔门诊费用待缴。\"},\"keyword1\":{\"color\":\"#173177\",\"value\":\"长沙泰和医院\"},\"keyword2\":{\"color\":\"#173177\",\"value\":\"" + mzPatientMi.getName() + "\"},\"remark\":{\"color\":\"#FF0000\",\"value\":\" 您的处方已生成,可以点击查看详情并缴费!\"}},\"miniprogram\":{\"appid\":\"\",\"pagepath\":\"\"},\"template_id\":\"utgzvafhKaWx3F6-6G26tb72zZ0eT_kJ6DzQeTwmwi4\",\"touser\":\"\",\"url\":\""+url+"\"}", new Date());
                 return;
             }

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

@@ -171,7 +171,7 @@ updateLisData: true
 #泰和微信开放服务地址测试环境
 #haiciServiceUrl: "http://172.16.30.26:8805/wxserver"
 #泰和微信开放服务地址生产环境
-haiciServiceUrl: "http://192.168.200.3:8805/wxserver"
+haiciServiceUrl: "https://staticweb.hnthyy.cn/wxserver"
 
 #泰和微信缴费服务地址测试环境
 #wxPayOrderServiceUrl: "http://172.16.30.26:8706"

+ 2 - 2
src/main/resources/application-bak/application-prod.yml

@@ -122,7 +122,7 @@ updateLisData: true
 #haiciServiceUrl: "https://api.med.gzhc365.com/openapi/health"
 
 #泰和微信开放服务地址生产环境
-haiciServiceUrl: "http://192.168.200.3:8805/wxserver"
+haiciServiceUrl: "https://staticweb.hnthyy.cn/wxserver"
 
 #泰和微信缴费服务地址生产环境
 wxPayOrderServiceUrl: "http://webhis.thyy.cn:8706"
@@ -134,7 +134,7 @@ tsmzServiceUrl: "http://webhis.thyy.cn:8706/markMtFees"
 lxbdcwjUrl: "http://csth.hnthhz.com:8083/assessments/covid/"
 
 #医技预约审核驳回回调地址
-callBackYJYYUrl: "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=http://staticweb.hnthyy.cn/wxserver/redirect/page2?to=resignOrRefund_"
+callBackYJYYUrl: "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=https://staticweb.hnthyy.cn/wxserver/redirect/page2?to=resignOrRefund_"
 
 #叫号通知接口地址
 notifyServiceUrl: "http://webhis.thyy.cn:8706/triage/notify"

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

@@ -218,7 +218,7 @@ pacsUrl: http://172.16.32.122:8099
 #健康宣教
 healthEducationUrl: https://staticweb.hnthyy.cn/healthEducation
 #微信支付链接
-wxPayQrUrl: https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=http://staticweb.hnthyy.cn/wxserver/redirect/page2?to=fromGuideBillQrScan_patientId&response_type=code&scope=snsapi_base&state=1#wechat_redirect
+wxPayQrUrl: https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=https://staticweb.hnthyy.cn/wxserver/redirect/page2?to=fromGuideBillQrScan_patientId&response_type=code&scope=snsapi_base&state=1#wechat_redirect
 
 #调用医保药品更新最新报销比例测试地址
 hiDrugPostUrl: "http://172.16.30.26:8706/nationalMatch/queryPsnPayProp?hiListCode="

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

@@ -165,7 +165,7 @@ setUnitPrice: false
 #haiciServiceUrl: "https://api.med.gzhc365.com/openapi/health"
 
 #泰和微信开放服务地址生产环境
-haiciServiceUrl: "http://192.168.200.3/wxserver"
+haiciServiceUrl: "https://staticweb.hnthyy.cn/wxserver"
 
 #泰和微信缴费服务地址生产环境
 wxPayOrderServiceUrl: "http://webhis.thyy.cn:8077"
@@ -176,7 +176,7 @@ tsmzServiceUrl: "http://webhis.thyy.cn:8077/markMtFees"
 lxbdcwjUrl: "http://csth.hnthhz.com:8083/assessments/covid/"
 
 #医技预约审核驳回回调地址
-callBackYJYYUrl: "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=http://staticweb.hnthyy.cn/wxserver/redirect/page2?to=resignOrRefund_"
+callBackYJYYUrl: "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=https://staticweb.hnthyy.cn/wxserver/redirect/page2?to=resignOrRefund_"
 
 #叫号通知接口地址
 notifyServiceUrl: "http://webhis.thyy.cn:8077/triage/notify"
@@ -210,7 +210,7 @@ healthEducationUrl: https://staticweb.hnthyy.cn/healthEducation
 #pacs检查地址
 pacsUrl: http://172.16.32.122:8099
 #微信支付链接
-wxPayQrUrl: https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=http://staticweb.hnthyy.cn/wxserver/redirect/page2?to=fromGuideBillQrScan_patientId&response_type=code&scope=snsapi_base&state=1#wechat_redirect
+wxPayQrUrl: https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=https://staticweb.hnthyy.cn/wxserver/redirect/page2?to=fromGuideBillQrScan_patientId&response_type=code&scope=snsapi_base&state=1#wechat_redirect
 
 #调用医保药品更新最新报销比例地址
 hiDrugPostUrl: "http://webhis.thyy.cn:8077/nationalMatch/queryPsnPayProp?hiListCode="