/** * @throws ApiException */ public function __construct() { $this->appid = APP_ID; $this->runtimeRoot = RUNTIME_ROOT; $this->file = $this->loadTicketRecord(); $accessToken = new AccessToken(); $this->accessToken = $accessToken->get(); }
/** * @throws ApiException */ public function __construct() { $accessToken = new AccessToken(); $this->accessToken = $accessToken->get(); }
/** * @throws ApiException */ public function __construct() { $accessToken = new AccessToken(); $this->accessToken = $accessToken->get(); $this->postfix = WECHAT_ID; }