Browse Source

各业务系统只提供付费观看数据。

lizhen_gitee 4 months ago
parent
commit
7ce9bdd733
1 changed files with 4 additions and 0 deletions
  1. 4 0
      application/api/controller/Tvindex.php

+ 4 - 0
application/api/controller/Tvindex.php

@@ -489,6 +489,10 @@ class Tvindex extends Api
         if (!$info) {
             $this->error('数据不存在');
         }
+        //文档的说法:各业务系统只提供付费观看数据。
+        if($info['is_pay'] != 1){
+            $this->success('');
+        }
 
         //播放日志
         $play_data = [