Browse Source

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

lizhen_gitee 4 tháng trước cách đây
mục cha
commit
7ce9bdd733
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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 = [