@@ -1245,6 +1245,7 @@ class Index extends Api
}
$info['image'] = one_domain_image($info['image']);
+ $info['is_collection'] = Db::name('video_collection')->where(['user_id' => $this->auth->id, 'video_id' => $id])->count('id');
$this->success('详情', $info);