wupengfei 2 years ago
parent
commit
61f29a38ed
2 changed files with 2 additions and 3 deletions
  1. 1 2
      .idea/workspace.xml
  2. 1 1
      application/api/controller/Easemob.php

+ 1 - 2
.idea/workspace.xml

@@ -4,7 +4,6 @@
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/application/api/controller/Easemob.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Easemob.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/api/controller/Login.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Login.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -177,7 +176,7 @@
       <workItem from="1666313182769" duration="19043000" />
       <workItem from="1668041658444" duration="593000" />
       <workItem from="1668042326649" duration="24523000" />
-      <workItem from="1668212914124" duration="17072000" />
+      <workItem from="1668212914124" duration="17155000" />
     </task>
     <servers />
   </component>

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

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