Explorar o código

Merge branch '20241106_lj_chat' into dev

AI hai 6 meses
pai
achega
991b1afdc0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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();