|  | @@ -107,6 +107,7 @@ BOOL CTCLToolsApp::InitInstance()
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	// 启动线程上报;
 | 
	
		
			
				|  |  |  	std::thread t([]() {
 | 
	
		
			
				|  |  | +		COTA ota;
 | 
	
		
			
				|  |  |  		std::string xml;
 | 
	
		
			
				|  |  |  		std::vector<STReport> vt;
 | 
	
		
			
				|  |  |  		while (true)
 | 
	
	
		
			
				|  | @@ -115,7 +116,7 @@ BOOL CTCLToolsApp::InitInstance()
 | 
	
		
			
				|  |  |  			g_db.QueryUnReportInfo(vt);
 | 
	
		
			
				|  |  |  			for (auto it: vt)
 | 
	
		
			
				|  |  |  			{
 | 
	
		
			
				|  |  | -				if ( g_ota.GetKeyInfo(it.url, it.content, "", "", xml) )
 | 
	
		
			
				|  |  | +				if (ota.GetKeyInfo(it.url, it.content, "", "", xml) )
 | 
	
		
			
				|  |  |  				{
 | 
	
		
			
				|  |  |  					// 上报成功;
 | 
	
		
			
				|  |  |  					g_db.UpdateKeyReportStatus(it);
 |