|
@@ -891,7 +891,7 @@ class Notify extends Api
|
|
|
$content['contentId'] = $v['movieid'];
|
|
|
$content['extraContentID'] = $v['movieid'];
|
|
|
$content['content'] = $v['title'];
|
|
|
- $content['intent'] = [
|
|
|
+ $intent = json_encode([
|
|
|
'action' => 'com.huxiu.heh.tv.ui.video.detail.VideoDetailActivity',
|
|
|
'package' => 'com.huxiu.heh.tv',
|
|
|
'component' => [
|
|
@@ -905,12 +905,13 @@ class Notify extends Api
|
|
|
'type_id' => $v['video_type_id'],
|
|
|
'id' => $v['id']
|
|
|
]
|
|
|
- ];
|
|
|
+ ], 320);
|
|
|
+ $content['intent'] = "$intent";
|
|
|
$content['isEffective'] = $v['status'];
|
|
|
$content['pic'] = one_domain_image($v['image']);
|
|
|
$content['isPaid'] = $v['is_pay'];
|
|
|
|
|
|
- $content = json_encode($content, 320);
|
|
|
+ $content = json_encode($content, 320);p($content);die;
|
|
|
$filename = 'shipin_'.date('Ymd').'_'.date('His').'_increment'.'.json';
|
|
|
error_log(print_r($content, 1) . PHP_EOL, 3, './jiankang/' . $filename);
|
|
|
//调用增量注入接口
|