wupengfei 2 years ago
parent
commit
d3880945c6

+ 2 - 2
.idea/workspace.xml

@@ -2,8 +2,8 @@
 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
-      <change afterPath="$PROJECT_DIR$/application/api/controller/Easemob.php" afterDir="false" />
       <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" />
@@ -177,7 +177,7 @@
       <workItem from="1666313182769" duration="19043000" />
       <workItem from="1668041658444" duration="593000" />
       <workItem from="1668042326649" duration="24523000" />
-      <workItem from="1668212914124" duration="15127000" />
+      <workItem from="1668212914124" duration="15259000" />
     </task>
     <servers />
   </component>

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

@@ -69,6 +69,7 @@ class Easemob{
 		);
 		$body=json_encode($options);
 		$header=array($this->getToken());
+
 		$result=$this->postCurl($url,$body,$header);
 		return $result;
 	}

+ 1 - 0
application/api/controller/Login.php

@@ -133,6 +133,7 @@ class Login extends Base
             'app_name' => 'kefuchannelapp104968',
         ];
         $emchat = new Easemob($base_set);
+        var_dump($emchat);
         $result = $emchat->createUser($user_emchat_name, $user_emchat_password,$nick_name); //创建emchat用户
         if (isset($result['error']) && $result['error'] != '') {
             return false;