|
@@ -111,13 +111,14 @@ class PostRepositories
|
|
|
if(isset($request['video']) && $request['video']){
|
|
|
for($i=0;$i<3;$i++){
|
|
|
$videoUrl = $this->aliYunVodService->getPlayUrlByVideoId($request['video']);
|
|
|
+ Log::debug('video-url:'.$videoUrl);
|
|
|
if($videoUrl){
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- if(empty($videoUrl)){
|
|
|
- return jsonError('发布失败,请重试');
|
|
|
+ if(empty($videoUrl)){
|
|
|
+ return jsonError('发布失败,请重试');
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
$data = [
|