Quellcode durchsuchen

Merge branch '20241106_lj_chat' into dev

AI vor 6 Monaten
Ursprung
Commit
991b1afdc0
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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();