wupengfei 2 lat temu
rodzic
commit
e6752e9a0e
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      .idea/workspace.xml
  2. 1 1
      application/api/controller/Easemob.php

+ 1 - 1
.idea/workspace.xml

@@ -176,7 +176,7 @@
       <workItem from="1666313182769" duration="19043000" />
       <workItem from="1668041658444" duration="593000" />
       <workItem from="1668042326649" duration="24523000" />
-      <workItem from="1668212914124" duration="16212000" />
+      <workItem from="1668212914124" duration="16275000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/api/controller/Easemob.php

@@ -41,7 +41,7 @@ class Easemob{
 	function getToken()
 	{
 		$options=array(
-		"grant_type"=>"password",
+		"grant_type"=>"client_credentials",
 		"client_id"=>$this->client_id,
 		"client_secret"=>$this->client_secret
 		);