|
@@ -159,7 +159,7 @@ class mratio_control
|
|
|
|
|
|
public function ratio_match($mchid, $org_quality, $cur_quality, $card_type, $spec,$qualities)
|
|
|
{
|
|
|
- $header = __METHOD__ . " mchid={$mchid}";
|
|
|
+ $header = __METHOD__ . " mchid={$mchid} card_type={$card_type} spec={$spec}";
|
|
|
[$ratio, $period] = $this->lower_ratio($mchid);
|
|
|
[$_succ, $_fail, $gross_ratio] = $this->gross_ratio($mchid, $period);
|
|
|
Log::record("{$header} gross_ratio = {$gross_ratio},lower_ratio={$ratio}",Log::DEBUG);
|