|  | @ -2,6 +2,7 @@ package com.yihu.jw.care.endpoint.consult;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | import com.alibaba.fastjson.JSONArray;
 | 
	
		
			
				|  |  | import com.alibaba.fastjson.JSONObject;
 | 
	
		
			
				|  |  | import com.yihu.jw.care.aop.ObserverRequired;
 | 
	
		
			
				|  |  | import com.yihu.jw.care.service.consult.ConsultService;
 | 
	
		
			
				|  |  | import com.yihu.jw.care.service.message.BaseServiceNewsService;
 | 
	
		
			
				|  |  | import com.yihu.jw.doctor.dao.BaseDoctorDao;
 | 
	
	
		
			
				|  | @ -147,6 +148,7 @@ public class PatientConsultEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	@PostMapping(value = "addOnlineConsult")
 | 
	
		
			
				|  |  | 	@ApiOperation(value = "新增在线咨询")
 | 
	
		
			
				|  |  | 	@ObserverRequired
 | 
	
		
			
				|  |  | 	public Envelop addOnlineConsult(
 | 
	
		
			
				|  |  | 			@ApiParam(name = "patient", value = "居民CODE")
 | 
	
		
			
				|  |  | 			@RequestParam(value = "patient",required = true) String patient,
 | 
	
	
		
			
				|  | @ -274,6 +276,7 @@ public class PatientConsultEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	@PostMapping(value = "finish")
 | 
	
		
			
				|  |  | 	@ApiOperation(value = "居民结束咨询", notes = "居民结束咨询")
 | 
	
		
			
				|  |  | 	@ObserverRequired
 | 
	
		
			
				|  |  | 	public Envelop finish(
 | 
	
		
			
				|  |  | 			@ApiParam(name = "consult", value = "咨询CODE")
 | 
	
		
			
				|  |  | 			@RequestParam(value = "consult",required = false) String consult,
 | 
	
	
		
			
				|  | @ -310,6 +313,7 @@ public class PatientConsultEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	@PostMapping(value = "append")
 | 
	
		
			
				|  |  | 	@ApiOperation(value = "居民咨询发消息(追问接口)")
 | 
	
		
			
				|  |  | 	@ObserverRequired
 | 
	
		
			
				|  |  | 	public ListEnvelop append(
 | 
	
		
			
				|  |  | 			@ApiParam(name = "consult", value = "咨询CODE")
 | 
	
		
			
				|  |  | 			@RequestParam(value = "consult",required = true) String consult,
 | 
	
	
		
			
				|  | @ -389,6 +393,7 @@ public class PatientConsultEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | 	
 | 
	
		
			
				|  |  | 	@PostMapping(value = BaseHospitalRequestMapping.PatientIM.getSign)
 | 
	
		
			
				|  |  | 	@ApiOperation(value = "获取微信签名", notes = "获取微信签名")
 | 
	
		
			
				|  |  | 	@ObserverRequired
 | 
	
		
			
				|  |  | 	public Envelop getSign(@ApiParam(name = "pageUrl", value = "授权页面")
 | 
	
		
			
				|  |  | 	                       @RequestParam(value = "pageUrl", required = true)String pageUrl,
 | 
	
		
			
				|  |  | 	                       @ApiParam(name = "wxId", value = "微信id")
 | 
	
	
		
			
				|  | @ -448,6 +453,7 @@ public class PatientConsultEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 	@PostMapping(value = BaseHospitalRequestMapping.PatientIM.updateConsultParticipant)
 | 
	
		
			
				|  |  | 	@ApiOperation(value = "更新会话成员(新增或删除)", notes = "更新会话成员(新增或删除)")
 | 
	
		
			
				|  |  | 	@ObserverRequired
 | 
	
		
			
				|  |  | 	public Envelop updateConsultParticipant(@ApiParam(name = "sessionid", value = "会话ID", defaultValue = "1")
 | 
	
		
			
				|  |  | 	                                       @RequestParam(value = "sessionid", required = true) String sessionid,
 | 
	
		
			
				|  |  | 	                                       @ApiParam(name = "userid", value = "新增成员ID,多个以英文逗号隔开", defaultValue = "1")
 | 
	
	
		
			
				|  | @ -464,6 +470,7 @@ public class PatientConsultEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | 	
 | 
	
		
			
				|  |  | 	@PostMapping(value = "messageAppend")
 | 
	
		
			
				|  |  | 	@ApiOperation(value = "居民单聊会话发送消息", notes = "居民单聊会话发送消息")
 | 
	
		
			
				|  |  | 	@ObserverRequired
 | 
	
		
			
				|  |  | 	public Envelop messageAppend(
 | 
	
		
			
				|  |  | 			@ApiParam(name = "sender_id", value = "发送者id", defaultValue = "")
 | 
	
		
			
				|  |  | 			@RequestParam(value = "sender_id", required = true) String sender_id,
 |