wupengfei 2 years ago
parent
commit
77e1c47c1e
2 changed files with 3 additions and 2 deletions
  1. 1 1
      .idea/workspace.xml
  2. 2 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="17354000" />
+      <workItem from="1668212914124" duration="17421000" />
     </task>
     <servers />
   </component>

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

@@ -33,7 +33,8 @@ class Easemob{
 		$this->app_name = isset ( $options ['app_name'] ) ? $options ['app_name'] : config('app_name');
 		if (! empty ( $this->org_name ) && ! empty ( $this->app_name )) {
 			//$this->url = 'https://a1.easemob.com/' . $this->org_name . '/' . $this->app_name . '/';
-			$this->url = 'http://kefu.easemob.com/api/platform/tenants/104968/';
+			//$this->url = 'http://kefu.easemob.com/api/platform/tenants/104968/';
+			$this->url = 'http://kefu.easemob.com/api/tenant/104968/';
 		}
 	}	
 	/**