|  | @@ -658,4 +658,17 @@ class OfficialAccountService
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |          return OfficialAccount::getBusinessChannelData($channels, $distribution_channel_name, $official_account_name,$isAll);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    /**
 | 
	
		
			
				|  |  | +     * 获取置顶地址
 | 
	
		
			
				|  |  | +     */
 | 
	
		
			
				|  |  | +    static function getTopUrl($service_type_info = 2)
 | 
	
		
			
				|  |  | +    {
 | 
	
		
			
				|  |  | +        if($service_type_info == 1)
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +            return 'https://help.'. env('WECHAT_CUSTOM_HOST') .'.com/top2.html';
 | 
	
		
			
				|  |  | +        }else{
 | 
	
		
			
				|  |  | +            return 'https://help.'. env('WECHAT_CUSTOM_HOST') .'.com/top.html';
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |  }
 |