|  | @ -59,43 +59,6 @@ public class CommonEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  |     private CarePatientService carePatientService;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private DevicePatientFaceService patientFaceService;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private GetuiService getuiService;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @GetMapping(value = "open/forceInit")
 | 
	
		
			
				|  |  |     @ApiOperation(value = "测试个推")
 | 
	
		
			
				|  |  |     public Envelop forceInit(){
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             getuiService.forceInit();
 | 
	
		
			
				|  |  |             return Envelop.getSuccess("success");
 | 
	
		
			
				|  |  |         }catch (Exception e){
 | 
	
		
			
				|  |  |             e.printStackTrace();
 | 
	
		
			
				|  |  |             return failedException2(e);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @GetMapping(value = "open/pushApi")
 | 
	
		
			
				|  |  |     @ApiOperation(value = "测试个推")
 | 
	
		
			
				|  |  |     public Envelop pushApi(){
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             GtApiConfiguration apiConfiguration = new GtApiConfiguration();
 | 
	
		
			
				|  |  |             //填写应用配置
 | 
	
		
			
				|  |  |             apiConfiguration.setAppId("I6JAs97T818HD0hGzG1EH4");
 | 
	
		
			
				|  |  |             apiConfiguration.setAppKey("JC2LAW9IK27pansBB4jN87");
 | 
	
		
			
				|  |  |             apiConfiguration.setMasterSecret("Rd86CP8bOy7RHyTf4ZE3R4");
 | 
	
		
			
				|  |  |             // 接口调用前缀,请查看文档: 接口调用规范 -> 接口前缀, 可不填写appId
 | 
	
		
			
				|  |  |             apiConfiguration.setDomain("https://restapi.getui.com/v2/");
 | 
	
		
			
				|  |  |             // 实例化ApiHelper对象,用于创建接口对象
 | 
	
		
			
				|  |  |             ApiHelper apiHelper = ApiHelper.build(apiConfiguration);
 | 
	
		
			
				|  |  |             // 创建对象,建议复用。目前有PushApi、StatisticApi、UserApi
 | 
	
		
			
				|  |  |             PushApi pushApi = apiHelper.creatApi(PushApi.class);
 | 
	
		
			
				|  |  |             logger.info("个推初始化:"+pushApi);
 | 
	
		
			
				|  |  |             return Envelop.getSuccess("success");
 | 
	
		
			
				|  |  |         }catch (Exception e){
 | 
	
		
			
				|  |  |             e.printStackTrace();
 | 
	
		
			
				|  |  |             return failedException2(e);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @GetMapping(value = "open/findFaceRecord")
 | 
	
		
			
				|  |  |     @ApiOperation(value = "获取人脸数据")
 |