function __construct($account, $passwd, $type = 1) { $this->account = $account; $this->passwd = $passwd; if (!class_exists("SoapClient")) { die("请开启Soap扩展"); exit; } if (self::$single == null) { self::$single = new SoapClient($this->url); } }