|  | @ -184,14 +184,11 @@ public class PhysicalExaminationController extends WeixinBaseController {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @ApiOperation(value = "获取微信文件,传到越人接口(四象采集,声音文件需要从微信接口获取)")
 | 
	
		
			
				|  |  |     @RequestMapping(value = "/dealVoice", method = RequestMethod.POST,produces="application/json;charset=UTF-8")
 | 
	
		
			
				|  |  |     @RequestMapping(value = "/dealVoice", produces="application/json;charset=UTF-8")
 | 
	
		
			
				|  |  |     @ResponseBody
 | 
	
		
			
				|  |  |     public String getFileFromWechat( @ApiParam(name = "mediaId", value = "微信媒体id", required = true)@RequestParam(required = true, name = "type") String mediaId,
 | 
	
		
			
				|  |  |                                    @ApiParam(name = "type", value = "1.脸型  2.舌像  3.声音", required = true)@RequestParam(required = true, name = "type") String type,
 | 
	
		
			
				|  |  |                                    @ApiParam(name = "ct_id", value = "咨询编号", required = true)@RequestParam(required = true, name = "ct_id") String ct_id) throws Exception {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         String voice = saveVoiceToDisk(mediaId);
 | 
	
		
			
				|  |  |         String uploadAttachment = physicalExaminationService.uploadAttachment(voice);
 | 
	
		
			
				|  |  |         JSONObject uploadResult = new JSONObject(uploadAttachment);
 |