Browse Source

easemob修改

lizhen_gitee 1 year ago
parent
commit
309198315b
2 changed files with 2 additions and 1 deletions
  1. 1 0
      application/api/controller/Easemob.php
  2. 1 1
      application/api/controller/Party.php

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

@@ -20,6 +20,7 @@ class Easemob extends Api
     protected $redis;
 
     public function __construct() {
+        parent::__construct();
 
         //初始化配置
         $easemob_config               = config('easemob');

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

@@ -990,7 +990,7 @@ class Party extends Api
         }
 
 
-        return $this->success("退出成功!",[]);
+        $this->success("退出成功!",[]);
     }