|
@@ -19,6 +19,7 @@ use QueueClient;
|
|
|
use member_info;
|
|
|
use Exception;
|
|
|
use trans_wapper;
|
|
|
+use Swoole;
|
|
|
|
|
|
class RefillBase
|
|
|
{
|
|
@@ -84,6 +85,7 @@ class RefillBase
|
|
|
if ($order_state == ORDER_STATE_PAY)
|
|
|
{
|
|
|
if(!empty($input)) {
|
|
|
+ Swoole\Coroutine::sleep(2);
|
|
|
util::push_notify($chname,$input);
|
|
|
}
|
|
|
return false;
|
|
@@ -221,7 +223,7 @@ class RefillBase
|
|
|
$input['pd_pay'] = true;
|
|
|
|
|
|
$logic_buy_virtual = Logic('buy_virtual');
|
|
|
- $result = $logic_buy_virtual->buyStep3($input, $buyer_id, [$calc, 'calc_vorder_amount'], true);
|
|
|
+ $result = $logic_buy_virtual->buyStep3($input, $buyer_id, [$calc, 'calc_vorder_amount'], true,false);
|
|
|
|
|
|
$mod_refill = Model('refill_order');
|
|
|
if ($result['state'] === true)
|