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();