|
@@ -387,17 +387,11 @@ class OrderController extends HomeBaseController |
|
@@ -387,17 +387,11 @@ class OrderController extends HomeBaseController |
387
|
|
387
|
|
388
|
$payResponse = new \AlipayTradeService($config);
|
388
|
$payResponse = new \AlipayTradeService($config);
|
389
|
$result = $payResponse->wapPay($payRequestBuilder, $config['return_url'], $config['notify_url']);
|
389
|
$result = $payResponse->wapPay($payRequestBuilder, $config['return_url'], $config['notify_url']);
|
390
|
- session('user.alipay', urldecode($result));
|
|
|
391
|
- return $this->fetch(':alipay', [
|
|
|
392
|
- 'url' => $result
|
|
|
393
|
- ]);
|
|
|
394
|
}
|
390
|
}
|
395
|
}
|
391
|
}
|
396
|
|
392
|
|
397
|
public function alipayDo() {
|
393
|
public function alipayDo() {
|
398
|
- $goto = request()->param('goto');
|
|
|
399
|
- echo $alipayUrl = session('user.alipay').$goto.'%3D';
|
|
|
400
|
- return $this->fetch(':pay');
|
394
|
+
|
401
|
}
|
395
|
}
|
402
|
|
396
|
|
403
|
} |
397
|
} |