Browse Source

王帅 韩誉消息推送

付宇 3 months ago
parent
commit
f0f06d57a2

+ 5 - 0
PacsOnline_Wechat_Patient/src/main/java/com/zskk/controller/WebBridgeController.java

@@ -81,6 +81,11 @@ public class WebBridgeController extends ApiController {
 //		this.renderText(WEB_BASR_URL_4+"/reportInfo/report?report_id="+ this.getPara("report_id"));
 		this.process2(WEB_BASR_URL_4+"/reportInfo/report?report_id=" + this.getPara("report_id"));
 	}
+
+	public void reportStemp() {
+		// todo  https://wc4.pacsonline.cn/#/reportInfo/reportStemp?id=cnb51i2f3w5uv769&short=1&is_dcm=1&isEncrypt=0&isAnonymous=1&service=1
+		this.process2(WEB_BASR_URL_4+"/reportInfo/reportStemp?id=" + this.getPara("id"));
+	}
 	
 	public void demo() {
 		this.redirect("https://wc4.pacsonline.cn/#/reportInfo/report?id=cnb518tkh0ou8lx9&short=1&is_dcm=1&isEncrypt=0&isAnonymous=1&name=%E9%99%88**");

+ 3 - 1
PacsOnline_Wechat_Patient/src/main/java/com/zskk/service/WeixinService.java

@@ -296,8 +296,10 @@ public class WeixinService {
             String hospital = contentJson.getString("hospital");
             String report_id = contentJson.getString("report_id");
             String exam_id = contentJson.getString("exam_id");
+            String id = contentJson.getString("id");
             String template_id = PEIS_REPORT_PUSH_TEMPLATE_ID.get(source);
-			String urlString = BASR_URL + "localReport?report_id=" + report_id + "&exam_id=" + exam_id;
+			String urlString = BASR_URL + "reportStemp?id=" + id;
+			// todo  https://wc4.pacsonline.cn/#/reportInfo/reportStemp?id=cnb51i2f3w5uv769&short=1&is_dcm=1&isEncrypt=0&isAnonymous=1&service=1
 			apiResult = sendPeisReportPushMsg(openid, urlString, modality, name, eaxmDate, hospital, template_id);
 		}
 		default: