wesmiler 2 лет назад
Родитель
Сommit
7d90ba5c5a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Services/Api/VideoService.php

+ 1 - 1
app/Services/Api/VideoService.php

@@ -390,7 +390,7 @@ class VideoService extends BaseService
                     'type'=> 1,
                     'collect_id'=> $id,
                     'collect_uid'=> isset($info['user_id'])? $info['user_id'] : 0,
-                    'tags'=> isset($info['tags'])? $info['tags'] : '',
+                    'tags'=> isset($info['tags'])&&$info['tags']? implode(',', $info['tags']) : '',
                     'create_time'=> time(),
                     'status'=> 1,
                 ];