public function __construct($options) { $this->appId = $options['appid']; $this->appSecret = $options['appsecret']; $this->weObj = new TPWechat($options); }