Browse Source

fix #934 采集增加当前进度到title标签

magicblack 3 years ago
parent
commit
24d45c8b44
1 changed files with 2 additions and 1 deletions
  1. 2 1
      application/admin/controller/Collect.php

+ 2 - 1
application/admin/controller/Collect.php

@@ -275,7 +275,8 @@ class Collect extends Base
 
             return $this->fetch('admin@collect/vod');
         }
-
+        $page_now = isset($param['page']) && strlen($param['page']) > 0 ? (int)$param['page'] : 1;
+        mac_echo('<title>' . $page_now . '/' . (int)$res['page']['pagecount'] . ' collecting..</title>');
         mac_echo('<style type="text/css">body{font-size:12px;color: #333333;line-height:21px;}span{font-weight:bold;color:#FF0000}</style>');
         model('Collect')->vod_data($param,$res );