|
@@ -244,11 +244,6 @@ class VideoCollectService extends BaseService
|
|
|
|
|
|
|
|
$collectInfo = $this->getCollectCacheInfo($userId, $collectId, $type);
|
|
$collectInfo = $this->getCollectCacheInfo($userId, $collectId, $type);
|
|
|
$id = isset($collectInfo['id'])? $collectInfo['id'] : 0;
|
|
$id = isset($collectInfo['id'])? $collectInfo['id'] : 0;
|
|
|
- $status = isset($collectInfo['status'])? $collectInfo['status'] : 0;
|
|
|
|
|
- if($type==1 && $collectInfo && $status == 1){
|
|
|
|
|
- $this->error = 1017;
|
|
|
|
|
- return false;
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
// 信息
|
|
// 信息
|
|
|
$info = VideoModel::where(['id'=> $collectId,'mark'=>1])->select(['id','user_id','tags'])->first();
|
|
$info = VideoModel::where(['id'=> $collectId,'mark'=>1])->select(['id','user_id','tags'])->first();
|