AI 4 tháng trước cách đây
mục cha
commit
9d1d872444
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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();