|
@@ -739,7 +739,7 @@ class util
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- public static function retry_canceled_order($order_id)
|
|
|
+ public static function retry_canceled_order($order_id, $skip)
|
|
|
{
|
|
|
$mod_order = Model('vr_order');
|
|
|
$mod_refill = Model('refill_order');
|
|
@@ -771,6 +771,12 @@ class util
|
|
|
$params = $order->queue_params();
|
|
|
$params['order_time'] = time();
|
|
|
|
|
|
+ if ($skip) {
|
|
|
+ $mchid = $refill_info['mchid'];
|
|
|
+ $mch_order = $refill_info['mch_order'];
|
|
|
+ refill\util::set_next_order($mchid, $mch_order);
|
|
|
+ }
|
|
|
+
|
|
|
if(util::push_add($params)) {
|
|
|
return [true,''];
|
|
|
} else {
|