|
@@ -445,11 +445,10 @@ class RefillBase
|
|
|
$refill_order->edit($order_id, ['mch_notify_times' => ['exp', 'mch_notify_times+1']]);
|
|
|
$times = $refill_info['mch_notify_times'] + 1;
|
|
|
|
|
|
- if ($times > 80) {
|
|
|
+ if ($times > 10) {
|
|
|
$refill_order->edit($order_id, ['mch_notify_state' => 2]);
|
|
|
} else {
|
|
|
- $N = intval($times / 5);
|
|
|
- $period = intval(pow(2, $N));
|
|
|
+ $period = intval(pow(2, $times));
|
|
|
QueueClient::async_push("NotifyMerchantComplete", ['order_id' => $order_id,'manual' => false], $period);
|
|
|
}
|
|
|
|