|
@@ -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;
|
|
|
}
|