刘韬 6 éve
szülő
commit
240cff0262

+ 2 - 1
PacsOnline_Wechat_Patient/src/main/java/com/zskk/controller/WebBridgeController.java

@@ -26,7 +26,8 @@ public class WebBridgeController extends ApiController {
 	
 	private void process(String toUrl) {
 		try {
-			Object sessionObj = this.getRequest().getSession().getAttribute("pwpSessionObjtest8");
+//			Object sessionObj = this.getRequest().getSession().getAttribute("pwpSessionObjtest8");
+			Object sessionObj = null;
 			WeixinService wService = ServiceFactory.getService(WeixinService.class);
 			if (sessionObj == null) {
 				String code = this.getPara("code");

+ 5 - 3
PacsOnline_Wechat_Patient/src/main/java/com/zskk/controller/WeixinMsgController.java

@@ -40,14 +40,16 @@ public class WeixinMsgController extends MsgControllerAdapter {
 			List<Articles> list = new ArrayList<Articles>();
 			Articles articles1 = new Articles();
 			articles1.setTitle("【演示】点击查看本次影像和报告");
-			articles1.setDescription("欢迎使用中世康恺PacsOnline!\n点击进入查看详情,您可以分享给家属或医生,日后还可以在“我的报告”中查看本次影像和报告");
+			articles1.setDescription("欢迎使用中世康恺PacsOnline!\n点击进入查看详情,您可以分享给家属或医生,日后还可以在/“我的报告/”中查看本次影像和报告");
 			articles1.setPicurl("http://work.pacsonline.cn/static/img/banner.e8ee043.png");
 			articles1.setUrl(toUrlString);
 			list.add(articles1);
 			CustomServiceApi.sendNews(inTextMsg.getFromUserName(), list);
 			renderNull();
-			}else {
-				renderNull();
+			}else if ("233".equalsIgnoreCase(msgContent)) {
+				OutTextMsg outMsgs = new OutTextMsg(inTextMsg);
+				outMsgs.setContent("欢迎关注中世康恺电子胶片平台!\n使用微信或者本公众号内的/“扫一扫”,扫描报告上的二维码,即可查看电子影像和报告");
+				render(outMsgs);
 			}
     }