wesmiler 23 小時之前
父節點
當前提交
ec7b62c9e6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Services/Api/PostRecordService.php

+ 1 - 1
app/Services/Api/PostRecordService.php

@@ -74,7 +74,7 @@ class PostRecordService extends BaseService
      */
     public function getQuery($params)
     {
-        $where = ['posts_records.mark' => 1];
+        $where = ['posts_records.reply_id'=>0,'posts_records.mark' => 1];
         $status = isset($params['status'])? $params['status'] : 0;
         $type = isset($params['type'])? $params['type'] : 0;
         $userId = isset($params['user_id'])? $params['user_id'] : 0;