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