|
@@ -149,6 +149,7 @@ class RefillBase
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ util::incr_user_fail($mchid,$card_type, $spec,$quality);
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
$logic_vr_order->changeOrderStateCancel($order_info, '', "{$chname}接口回调通知失败,不可重试.",true,true);
|
|
$logic_vr_order->changeOrderStateCancel($order_info, '', "{$chname}接口回调通知失败,不可重试.",true,true);
|
|
@@ -156,15 +157,13 @@ class RefillBase
|
|
|
|
|
|
util::incr_notify($chname, $card_type, $spec, $quality, false);
|
|
util::incr_notify($chname, $card_type, $spec, $quality, false);
|
|
util::incr_amount_lock($mchid,$card_type,$spec);
|
|
util::incr_amount_lock($mchid,$card_type,$spec);
|
|
|
|
+ util::incr_user_fail($mchid,$card_type, $spec,$quality);
|
|
}
|
|
}
|
|
|
|
|
|
$mod_refill->edit($order_id, ['notify_time' => time(), 'is_retrying' => 0,'notify_state' => 1]);
|
|
$mod_refill->edit($order_id, ['notify_time' => time(), 'is_retrying' => 0,'notify_state' => 1]);
|
|
util::pop_queue_order($mchid,$mch_order);
|
|
util::pop_queue_order($mchid,$mch_order);
|
|
QueueClient::push("NotifyMerchantComplete", ['order_id' => $order_id,'manual' => false]);
|
|
QueueClient::push("NotifyMerchantComplete", ['order_id' => $order_id,'manual' => false]);
|
|
-
|
|
|
|
- if(!$success) {
|
|
|
|
- util::incr_user_fail($mchid,$card_type, $spec,$quality);
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
catch (Exception $ex) {
|
|
catch (Exception $ex) {
|