lizhen_gitee 1 år sedan
förälder
incheckning
9c016cc24f
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      application/common/library/Easemob.php
  2. 1 1
      vendor/maniac/easemob-php/src/Auth.php

+ 1 - 1
application/common/library/Easemob.php

@@ -19,7 +19,7 @@ class Easemob {
         $clientIdOrAppID              = $easemob_config['client_id'];
         $clientSecretOrAppCertificate = $easemob_config['client_secret'];
 
-        $this->auth = new Auth($appKey,$clientIdOrAppID,$clientSecretOrAppCertificate,2592000,true);
+        $this->auth = new Auth($appKey,$clientIdOrAppID,$clientSecretOrAppCertificate,2592000,false);
         $this->room = new Room($this->auth);
         $this->user = new User($this->auth);
     }

+ 1 - 1
vendor/maniac/easemob-php/src/Auth.php

@@ -120,7 +120,7 @@ final class Auth
         $clientIdOrAppID,
         $clientSecretOrAppCertificate,
         $expireTimeInSeconds = 2592000,
-        $isAgora = true,
+        $isAgora = false,
         $uuid = ''
         )
     {