|
@@ -328,7 +328,11 @@ class RefillBase
|
|
|
'quality' => $quality,'order_id' => $order_id];
|
|
|
|
|
|
util::incr_commit_pre($channel_name,$card_type,$amount,$quality);
|
|
|
- [$state, $errmsg,$neterr] = $provider->add($card_no, $card_type, $amount, $params);
|
|
|
+
|
|
|
+ $start = microtime(true);
|
|
|
+ [$state, $errmsg, $neterr] = $provider->add($card_no, $card_type, $amount, $params);
|
|
|
+ Log::record(sprintf(" %s add request time=%.6f", $channel_name,microtime(true) - $start), Log::DEBUG);
|
|
|
+
|
|
|
if ($state)
|
|
|
{
|
|
|
//提交成功
|