仅有pc获取轮询截止时间,删除无用的log日志

This commit is contained in:
吴昊天 2023-02-22 15:12:26 +08:00
parent 6a785ae7cb
commit 38e305bc45
2 changed files with 1 additions and 3 deletions

View File

@ -186,7 +186,7 @@ class OrderPayServices
$payKey = md5($order['order_id']);
switch ($payType) {
case PayServices::ALIAPY_PAY:
$jsConfig->invalid = time() + 60;
if (request()->isPc()) $jsConfig->invalid = time() + 60;
CacheService::set($payKey, ['order_id' => $order['order_id'], 'other_pay_type' => false], 300);
break;
case PayServices::ALLIN_PAY:

View File

@ -201,8 +201,6 @@ class V3WechatPay extends BasePay implements PayInterface
{
return $this->instance->v3pay->handleNotify(function ($notify, $successful) {
Log::info('支付回调:' . json_encode($notify));
if ($successful) {
$data = [
'attach' => $notify->attach,