stanley-king 1 年之前
父節點
當前提交
149381c880
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      helper/refill/policy/chctlex.php

+ 3 - 0
helper/refill/policy/chctlex.php

@@ -141,6 +141,8 @@ class chctlex
             $ctls = [];
             foreach ($names as $name)
             {
+                Log::record("channel=$name",Log::DEBUG);
+
                 $key = $pThis->prefix($name,$spec,$card_type,$quality);
                 if(array_key_exists($key,$pThis->mSpeedtable))
                 {
@@ -148,6 +150,7 @@ class chctlex
 
                     $inPrice = $item->price();
                     if ($max_inprice !== false && $inPrice > $max_inprice) {
+                        Log::record("skip channel=$name",Log::DEBUG);
                         continue;
                     } else {
                         $ctls[] = $item;