|
@@ -771,9 +771,9 @@ class Notify extends Api
|
|
|
'cpPrvType' => '1006',
|
|
|
'ChnName' => '健康',
|
|
|
'ChnCode' => '1000020',
|
|
|
- 'actors' => '',
|
|
|
- 'directors' => '',
|
|
|
- 'contentYear' => '',
|
|
|
+ 'actors' => '无',
|
|
|
+ 'directors' => '无',
|
|
|
+ 'contentYear' => date('Y'),
|
|
|
'tags' => '',
|
|
|
'contentTime' => date('Y-m-d H:i:s'),
|
|
|
'formatType' => '超清'
|
|
@@ -794,9 +794,9 @@ class Notify extends Api
|
|
|
}
|
|
|
$data = $rs['data'][0];
|
|
|
if ($data['taskStatus'] == 2) {
|
|
|
- //生成ftp文件
|
|
|
- $content['contentId'] = (string)$v['id'];
|
|
|
- $content['extraContentID'] = (string)$v['id'];
|
|
|
+ /*//生成ftp文件
|
|
|
+ $content['contentId'] = $v['movieid'];
|
|
|
+ $content['extraContentID'] = $v['movieid'];
|
|
|
$content['content'] = $v['title'];
|
|
|
$content['intent'] = [
|
|
|
'action' => 'com.huxiu.heh.tv.ui.video.detail.VideoDetailActivity',
|
|
@@ -806,9 +806,9 @@ class Notify extends Api
|
|
|
'cls' => 'com.huxiu.heh.tv.ui.video.detail.VideoDetailActivity'
|
|
|
],
|
|
|
'extras' => [
|
|
|
- /*'cmd' => '',
|
|
|
- 'from' => '',
|
|
|
- 'media_id' => ''*/
|
|
|
+// 'cmd' => '',
|
|
|
+// 'from' => '',
|
|
|
+// 'media_id' => ''
|
|
|
'type_id' => $v['video_type_id'],
|
|
|
'id' => $v['id']
|
|
|
]
|
|
@@ -823,17 +823,17 @@ class Notify extends Api
|
|
|
//调用增量注入接口
|
|
|
|
|
|
$postfields = [
|
|
|
- 'priKey' => '123456',
|
|
|
+ 'priKey' => config('cspid'),
|
|
|
'data' => [$content]
|
|
|
];
|
|
|
- $rt = httpRequest($insert_url, $method, $postfields);
|
|
|
+ $rt = httpRequest($insert_url, $method, $postfields, $header);
|
|
|
if (!$rt) {
|
|
|
continue;
|
|
|
}
|
|
|
$rt = json_decode($rt, true);
|
|
|
if ($rt['code'] != 'A000000') {
|
|
|
continue;
|
|
|
- }
|
|
|
+ }*/
|
|
|
$hu_video->where(['id' => $v['id'], 'inject_status' => 1])->setField(['inject_status' => 2, 'seriesid' => $data['seriesId'], 'programid' => $data['programId'], 'movieid' => $data['movieId']]);
|
|
|
}
|
|
|
}
|