AI 4 月之前
父節點
當前提交
9d1d872444
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/JsonRpc/ChatService.php

+ 2 - 0
app/JsonRpc/ChatService.php

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