@@ -104,6 +104,6 @@ class PostModel extends BaseModel
public function isLike()
{
return $this->hasOne(PostRecordModel::class, 'source_id', 'id')
- ->where(['type'=>2,'status'=>1,'mark'=>1]);
+ ->where(['type'=>2,'status'=>1,'mark'=>1])->select(['id','type','user_id','source_id']);
}