mirror of
				https://gitee.com/technical-laohu/mpay.git
				synced 2025-11-04 16:53:44 +08:00 
			
		
		
		
	修复通道测试服务器报500错误
This commit is contained in:
		@@ -279,6 +279,8 @@ class PayController
 | 
			
		||||
        $action = isset($info['action']) ? $info['action'] : '';
 | 
			
		||||
        if ($action === 'mpay') {
 | 
			
		||||
            $data = json_decode($info['data'], true);
 | 
			
		||||
            if (!is_array($data)) return 200;
 | 
			
		||||
            if(!isset($data['aid']) || !isset($data['pid'])) return 202;
 | 
			
		||||
            $config = PayAccount::getAccountConfig($data['aid'], $data['pid']);
 | 
			
		||||
            $payclient_path = "\\payclient\\{$config['payclass']}";
 | 
			
		||||
            $Payclient = new $payclient_path($info, $config);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user