瀏覽代碼

修改c端获取课题列表的接口

FengR 3 周之前
父節點
當前提交
f76a38f653
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      app/JsonRpc/ChatService.php

+ 1 - 2
app/JsonRpc/ChatService.php

@@ -862,8 +862,7 @@ class ChatService implements ChatServiceInterface
             ->leftJoin('chat_topics_reply', 'chat_topics.id', '=', 'chat_topics_reply.topic_id')
             ->leftJoin('chat_topic_class', 'chat_topics.type', '=', 'chat_topic_class.id')
             ->select(
-                'chat_topics.id','chat_topics.author','chat_topics.group_name','chat_topics.user_id',
-                'chat_topics.title','chat_topics.updated_at as created_at','chat_topics.type','chat_topics.status', 
+                'chat_topics.*', 
                 'chat_topic_class.topicname as type_name',
                 'user.nickname',
                 'user.avatar',