|
@@ -144,6 +144,10 @@ class VideoUrl extends Controller
|
|
|
$up['url_num'] = $url_num;
|
|
|
if(!$video_info['cover']) $up['cover'] = $this->request->post('url').$this->url_suffix;
|
|
|
if(!$video_info['video_url']) $up['video_url'] = $this->request->post('url');
|
|
|
+ if(!$video_info['article_id']) $up['article_id'] = $this->request->post('article_id');
|
|
|
+ if(!$video_info['article_item']) $up['article_item'] = $this->request->post('article_item');
|
|
|
+ if(!$video_info['datum_id']) $up['datum_id'] = $this->request->post('datum_id');
|
|
|
+ if(!$video_info['datum_item']) $up['datum_item'] = $this->request->post('datum_item');
|
|
|
VideoIntro::where('id',$this->request->post('video_id'))->update($up);
|
|
|
}
|
|
|
|