| 
					
				 | 
			
			
				@ -33,9 +33,10 @@ public class ImMessageController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @RequestMapping(value = "messages",method = {RequestMethod.GET,RequestMethod.POST}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ResponseBody 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation("查询医生未读消息和最后消息") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public String messages() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public String messages(@ApiParam(name = "type", value = "文章审核的时候必传,消息类型,14:提交文章审核,15:审核结果") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                               @RequestParam(value = "type", required = false,defaultValue = "15") Integer type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            JSONObject json = messageService.findDoctorAllMessage(getUID()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            JSONObject json = messageService.findDoctorAllMessage(getUID(),type); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return write(200, "获取消息总数成功!", "data", json); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } catch (Exception e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            error(e); 
			 |