|  | @@ -124,17 +124,22 @@ class Model_apittv1 extends Lin_Model {
 | 
	
		
			
				|  |  |          $url = $url.$link;
 | 
	
		
			
				|  |  |          $headers = array('Content-Type: application/json','x-tts-access-token:'.$shop['token']);
 | 
	
		
			
				|  |  |  		$url .= $link.'&sign='.$sign;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          $sign = $this->apitt->sign($url,$shop['app_key'],'') ;
 | 
	
		
			
				|  |  |          var_dump($sign);
 | 
	
		
			
				|  |  | +        $res = $this->apitt->su_curl('',$url,$headers,$date_type='json',$timeout=300,$httptype="GET");
 | 
	
		
			
				|  |  | +		
 | 
	
		
			
				|  |  | +        print_r($res);
 | 
	
		
			
				|  |  |          die;
 | 
	
		
			
				|  |  | -		$res = $this->reqGet($url,$headers);
 | 
	
		
			
				|  |  | -        if($res['httpCode'] != 200){
 | 
	
		
			
				|  |  | -            echo "<pre>";
 | 
	
		
			
				|  |  | -            print_r($res);
 | 
	
		
			
				|  |  | -        }else{
 | 
	
		
			
				|  |  | -            echo "<pre>";
 | 
	
		
			
				|  |  | -            print_r($res);
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  | +		// $res = $this->reqGet($url,$headers);
 | 
	
		
			
				|  |  | +        // if($res['httpCode'] != 200){
 | 
	
		
			
				|  |  | +        //     echo "<pre>";
 | 
	
		
			
				|  |  | +        //     print_r($res);
 | 
	
		
			
				|  |  | +        // }else{
 | 
	
		
			
				|  |  | +        //     echo "<pre>";
 | 
	
		
			
				|  |  | +        //     print_r($res);
 | 
	
		
			
				|  |  | +        // }
 | 
	
		
			
				|  |  |  		 
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |     
 |