コード例 #1
0
ファイル: JsapiTicket.class.php プロジェクト: kavmors/Wlight
 /**
  * @throws ApiException
  */
 public function __construct()
 {
     $this->appid = APP_ID;
     $this->runtimeRoot = RUNTIME_ROOT;
     $this->file = $this->loadTicketRecord();
     $accessToken = new AccessToken();
     $this->accessToken = $accessToken->get();
 }
コード例 #2
0
ファイル: Info.class.php プロジェクト: kavmors/Wlight
 /**
  * @throws ApiException
  */
 public function __construct()
 {
     $accessToken = new AccessToken();
     $this->accessToken = $accessToken->get();
 }
コード例 #3
0
ファイル: Message.class.php プロジェクト: kavmors/Wlight
 /**
  * @throws ApiException
  */
 public function __construct()
 {
     $accessToken = new AccessToken();
     $this->accessToken = $accessToken->get();
     $this->postfix = WECHAT_ID;
 }