|
@@ -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;
|
|
|
}
|