diff --git a/GTClient.php b/GTClient.php index 7cb98fa..9341809 100644 --- a/GTClient.php +++ b/GTClient.php @@ -90,7 +90,9 @@ public function __construct($domainUrl, $appkey, $appId, $masterSecret, $ssl = N } //鉴权 try { - $this->auth(); + if (empty($this->authToken)) { + $this->auth(); + } } catch (Exception $e) { echo $e->getMessage(); }