stanley-king 3 年之前
父节点
当前提交
7827007b25
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      helper/refill/policy/mratio_control.php

+ 1 - 1
helper/refill/policy/mratio_control.php

@@ -322,7 +322,7 @@ class mratio_control
                 $prices = $this->getPrice($mchid, $org_quality, $card_type, $spec);
                 $out_price = $prices[$org_quality];
                 $in_price = $prices[$quality] ?? false;
-                if ($in_price === false) {
+                if ($in_price === false || $in_price <= 0) {
                     Log::record("error price",Log::ERR);
                     continue;
                 }