|
|
@@ -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;
|