efps-version
elf 1 year ago
parent a60d5cebaa
commit 32ae81a659

@ -326,9 +326,9 @@ class RechargeController extends AbstractController
if (empty($log)) { if (empty($log)) {
throw new BusinessException('预支付记录不存在'); throw new BusinessException('预支付记录不存在');
} }
if ($log->created_at->timestamp < time() - 5*60) { // if ($log->created_at->timestamp < time() - 5*60) {
throw new BusinessException('支付超时,请重新请求'); // throw new BusinessException('支付超时,请重新请求');
} // }
$app = App::where('app_id', $log->app_id)->first(); $app = App::where('app_id', $log->app_id)->first();
if (empty($app)) { if (empty($app)) {
throw new BusinessException('应用异常'); throw new BusinessException('应用异常');

Loading…
Cancel
Save