wesmiler vor 2 Jahren
Ursprung
Commit
7ea191cafc
1 geänderte Dateien mit 0 neuen und 5 gelöschten Zeilen
  1. 0 5
      app/Services/Api/VideoCollectService.php

+ 0 - 5
app/Services/Api/VideoCollectService.php

@@ -244,11 +244,6 @@ class VideoCollectService extends BaseService
 
         $collectInfo = $this->getCollectCacheInfo($userId, $collectId, $type);
         $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();