stanley-king 3 years ago
parent
commit
3ca3323e5e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      helper/refill/policy/chctl.php

+ 2 - 2
helper/refill/policy/chctl.php

@@ -349,7 +349,7 @@ class chctl
             return number_format($val,10,'.','');
         };
 
-        $desctor = function ($item) use($out_price,$formater) {
+        $desctor = function ($item) use($out_price,$formater,$card_type,$spec) {
             $name = $item->name();
 
             [$notify_count,$ratio] = $item->notify_ratio();
@@ -366,7 +366,7 @@ class chctl
                 $state = "waking";
             }
 
-            return "{$name} {$state} time={$time} commit_succ={$commit_succ} notify_count={$notify_count} ratio={$ratio} profit_ratio={$profit_ratio}";
+            return "{$card_type}-{$spec} {$name} {$state} time={$time} commit_succ={$commit_succ} notify_count={$notify_count} ratio={$ratio} profit_ratio={$profit_ratio}";
         };
 
         $left_times = intval($left_time / self::avg_order_time);