Просмотр исходного кода

图像修改为自定义域名

付宇 1 месяц назад
Родитель
Сommit
866fd42aa0

+ 4 - 3
PacsOnline_Wechat_Patient/src/main/java/com/zskk/controller/WebBridgeController.java

@@ -87,10 +87,11 @@ public class WebBridgeController extends ApiController {
 	public void localReport() {
 		this.process(WEB_BASR_URL_4+"/reportInfo/report?report_id=" + this.getPara("report_id") + "&exam_id=" + this.getPara("exam_id"));
 	}
-	
-	public void wxTest() {
-		this.process("https://zskk-value.oss-cn-beijing.aliyuncs.com/20251209.jpg");
+
+	public void ws20251209() {
+		this.process("https://video.pacsonline.cn/value/20251209.jpg");
 	}
+	
 	public void localReport2() {
 //		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"));

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

@@ -283,8 +283,7 @@ public class WeixinService {
             String report_id = contentJson.getString("report_id");
             String exam_id = contentJson.getString("exam_id");
             String template_id = LOCAL_REPORT_FINISH_TEMPLATE_ID.get(source);
-			// String urlString = BASR_URL + "localReport?report_id=" + report_id + "&exam_id=" + exam_id;
-			String urlString = BASR_URL + "wxTest";
+			String urlString = BASR_URL + "localReport?report_id=" + report_id + "&exam_id=" + exam_id;
 			apiResult = sendLocalReportFinishMsg(openid, urlString, modality, name, eaxmDate, template_id);
 		}
 		    break;
@@ -302,7 +301,8 @@ public class WeixinService {
 
             String template_id = PEIS_REPORT_PUSH_TEMPLATE_ID.get(source);
 			// String urlString = BASR_URL + "reportStemp?id=" + id + "&openid=" + openid;
-			String urlString = BASR_URL + "reportStemp?id=" + id;
+			// String urlString = BASR_URL + "reportStemp?id=" + id;
+			String urlString = BASR_URL + "ws20251209";
 			// 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, examDate, hospital, template_id);
 		}