fixed
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
namespace app\admin\controller;
|
||||
|
||||
|
||||
use app\api\logic\GechatroomLogic;
|
||||
use app\api\logic\GechatroomWechatLogic;
|
||||
use think\Controller;
|
||||
|
||||
class Gechatroom extends Controller
|
||||
@@ -37,7 +37,7 @@ class Gechatroom extends Controller
|
||||
if(empty($ai_config_id)){
|
||||
throw new \Exception('ai_config_id不能为空');
|
||||
}
|
||||
$logic = new GechatroomLogic();
|
||||
$logic = new GechatroomWechatLogic();
|
||||
$data = $logic->getChatroomList($ai_config_id);
|
||||
//dump($data);die;
|
||||
//缓存群成员列表
|
||||
@@ -65,7 +65,7 @@ class Gechatroom extends Controller
|
||||
if(empty($ai_config_id)){
|
||||
throw new \Exception('ai_config_id不能为空');
|
||||
}
|
||||
$data = (new GechatroomLogic())->getChatroomList($ai_config_id);
|
||||
$data = (new GechatroomWechatLogic())->getChatroomList($ai_config_id);
|
||||
//缓存群成员列表
|
||||
cache('cache_getChatroomList_data'.session_admin_firm_id(),$data['memberList'],86400);
|
||||
$memberList = $data[$chatroom_id]['memberList'];
|
||||
|
||||
Reference in New Issue
Block a user