فهرست منبع

调试 视频注入结果查询

15954078560 2 سال پیش
والد
کامیت
1f7cdb9748
1فایلهای تغییر یافته به همراه2 افزوده شده و 4 حذف شده
  1. 2 4
      application/api/controller/Notify.php

+ 2 - 4
application/api/controller/Notify.php

@@ -771,13 +771,12 @@ class Notify extends Api
             'cpPrvType' => '1006',
             'ChnName' => '健康',
             'ChnCode' => '1000020',
-            'extraContentID' => '',
             'actors' => '',
             'directors' => '',
             'contentYear' => '',
             'tags' => '',
             'contentTime' => date('Y-m-d H:i:s'),
-            'formatType' => ''
+            'formatType' => '超清'
         ];
         //增量接口
         $insert_url = 'http://test.meta.unso.gitv.tv/sendMeta';
@@ -797,6 +796,7 @@ class Notify extends Api
             if ($data['taskStatus'] == 2) {
                 //生成ftp文件
                 $content['contentId'] = (string)$v['id'];
+                $content['extraContentID'] = (string)$v['id'];
                 $content['content'] = $v['title'];
                 $content['intent'] = [
                     'action' => 'com.huxiu.heh.tv.ui.video.detail.VideoDetailActivity',
@@ -816,8 +816,6 @@ class Notify extends Api
                 $content['isEffective'] = $v['status'];
                 $content['pic'] = one_domain_image($v['image']);
                 $content['isPaid'] = $v['is_pay'];
-                $content['content'] = $v['title'];
-                $content['content'] = $v['title'];
 
                 $content = json_encode($content, 320);
                 $filename = 'shipin_'.date('Ymd').'_'.date('His').'_increment'.'.json';