session($code); }catch (\Exception $e){ return $e; } return $res; } public static function pay($uniacid) { $config=Config::getSystemSet('baiduConfig',$uniacid); $payment=new PaymentClient('3808847194','MMUnGG'); } }