|
|
|
|
@ -41,7 +41,7 @@ class SyncWeixinRechargeState extends Command
|
|
|
|
|
public function handle()
|
|
|
|
|
{
|
|
|
|
|
$threshold = 5;
|
|
|
|
|
$offset_seconds = 30; //支付发起后30秒开始轮询
|
|
|
|
|
$offset_seconds = 40; //支付发起后多少秒开始轮询
|
|
|
|
|
$due_minutes = 5; //支付发起后第一次开始轮询的时间往后延迟5分钟后不再轮询
|
|
|
|
|
$last_id = cache("last_sync_weixin_recharge_id", 0);
|
|
|
|
|
|
|
|
|
|
|