浏览代码

调试 视频注入结果查询

15954078560 2 年之前
父节点
当前提交
4bd6aeacd9
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      application/api/controller/Notify.php

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

@@ -835,6 +835,8 @@ class Notify extends Api
                     continue;
                 }*/
                 $hu_video->where(['id' => $v['id'], 'inject_status' => 1])->setField(['inject_status' => 2, 'seriesid' => $data['seriesId'], 'programid' => $data['programId'], 'movieid' => $data['movieId']]);
+            } elseif ($data['taskStatus'] == -1 || $data['taskStatus'] == -3 || $data['taskStatus'] == -4) {
+                $hu_video->where(['id' => $v['id'], 'inject_status' => 1])->setField(['inject_status' => 3, 'seriesid' => $data['seriesId'], 'programid' => $data['programId'], 'movieid' => $data['movieId']]);
             }
         }