Pārlūkot izejas kodu

用户观看行为(支付),改个名

lizhen_gitee 4 mēneši atpakaļ
vecāks
revīzija
71055ca402

+ 8 - 3
application/api/controller/Notify.php

@@ -386,7 +386,8 @@ class Notify extends Api
         echo 'wan bi';
         die;
     }
-    
+
+    //没用到
     //订购关系同步地址
     public function ordersync() {
         $data = file_get_contents('php://input');
@@ -459,6 +460,7 @@ class Notify extends Api
         error_log('', 3, './dashuju/' . $finish_filename);
     }
 
+    //没用到
     //(补漏)视频注入中兴
     public function injectzx() {
         set_time_limit(0);
@@ -523,6 +525,7 @@ class Notify extends Api
         die;
     }
 
+    //没用到
     //(补漏)删除注入中兴视频
     public function delinjectzx() {
         set_time_limit(0);
@@ -696,6 +699,7 @@ class Notify extends Api
         }
     }
 
+    //没用到
     //产品包
     public function product() {
         $content = [
@@ -787,8 +791,8 @@ class Notify extends Api
         $username = config('pay_ftp_user');
         $password = config('pay_ftp_pwd');
 
-        $filename = date('YmdH', time() - 3600).'_'.config('cp_id').'_userviewdata_1.dat';
-        $check_filename = date('YmdH', time() - 3600).'_'.config('cp_id').'_userviewdata_1.chk';
+        $filename = date('YmdH', time() - 3600).'_'.config('cp_id').'_ottuserviewdata_1.dat';
+        $check_filename = date('YmdH', time() - 3600).'_'.config('cp_id').'_ottuserviewdata_1.chk';
 
         //判断文件是否存在, 不存在则创建
         if (!file_exists('./dashuju/' . $filename)) {
@@ -822,6 +826,7 @@ class Notify extends Api
         echo 'wanbi';
     }
 
+    //没用到
     //大数据文件上传到大数据ftp(每天一点提供)
     public function uploaddataftp() {
         set_time_limit(0);

+ 2 - 2
application/api/controller/Tvindex.php

@@ -518,8 +518,8 @@ class Tvindex extends Api
 
         $content = join('|', $content);
 
-        $filename = date('YmdH').'_'.config('cp_id').'_userviewdata_1.dat';
-        $check_filename = date('YmdH').'_'.config('cp_id').'_userviewdata_1.chk';
+        $filename = date('YmdH').'_'.config('cp_id').'_ottuserviewdata_1.dat';
+        $check_filename = date('YmdH').'_'.config('cp_id').'_ottuserviewdata_1.chk';
 
         error_log(print_r($content, 1) . PHP_EOL, 3, './dashuju/' . $filename);
         error_log('', 3, './dashuju/' . $check_filename);