weizong song 2 years ago
parent ed13a60f22
commit 2089b19060

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

@ -96,7 +96,6 @@ class WxMicroPay extends WxPayCommon
{ {
$query_result = $this->orderQuery($recharge->serial); $query_result = $this->orderQuery($recharge->serial);
if (!isset($query_result["trade_state"])) { if (!isset($query_result["trade_state"])) {
dump($recharge,$query_result);
return false; return false;
} }
if ($query_result["trade_state"] == "SUCCESS") { if ($query_result["trade_state"] == "SUCCESS") {

Loading…
Cancel
Save