|
|
@@ -4274,6 +4274,7 @@ class PublicRpcService implements PublicRpcServiceInterface
|
|
|
{
|
|
|
$where['user_id'] = $data['user_id'];
|
|
|
$where['session_id'] = $data['session_id'];
|
|
|
+ $where['is_active'] = 1;
|
|
|
$session = AichatSession::where($where)->first();
|
|
|
if(empty($session)){
|
|
|
return Result::error('会话不存在!');
|