wupengfei 2 years ago
parent
commit
51f13fcfb9
2 changed files with 2 additions and 2 deletions
  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="17193000" />
+      <workItem from="1668212914124" duration="17236000" />
     </task>
     <servers />
   </component>

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

@@ -54,7 +54,7 @@ class Easemob{
 		$url=$this->url.'accessToken';
 		//$url=$base_url.'token';
 		$tokenResult = $this->postCurl($url,$body,['content-type:application/json']);
-		var_dump($options,$tokenResult);
+		var_dump($url,$options,$tokenResult);
 		//var_dump($tokenResult['expires_in']);
 		//return $tokenResult;
 		return "Authorization:Bearer ".$tokenResult['access_token'];