|
@@ -753,6 +753,8 @@ class ChatService implements ChatServiceInterface
|
|
ChatTopic::where(['id' => $result])->update($data);
|
|
ChatTopic::where(['id' => $result])->update($data);
|
|
// 查询 Chattopic 数据
|
|
// 查询 Chattopic 数据
|
|
$chattopic = Chattopic::find($result);
|
|
$chattopic = Chattopic::find($result);
|
|
|
|
+ } else {
|
|
|
|
+ $chattopic = Chattopic::find($result);
|
|
}
|
|
}
|
|
Db::beginTransaction();
|
|
Db::beginTransaction();
|
|
Db::commit();
|
|
Db::commit();
|