...
|
...
|
@@ -387,6 +387,7 @@ class OrderController extends HomeBaseController |
|
|
|
|
|
$payResponse = new \AlipayTradeService($config);
|
|
|
$result = $payResponse->wapPay($payRequestBuilder, $config['return_url'], $config['notify_url']);
|
|
|
session('user.alipay', $result);
|
|
|
return $this->fetch(':alipay', [
|
|
|
'url' => $result
|
|
|
]);
|
...
|
...
|
@@ -394,7 +395,10 @@ class OrderController extends HomeBaseController |
|
|
}
|
|
|
|
|
|
public function alipayDo() {
|
|
|
return $this->fetch(':pay');
|
|
|
$goto = request()->param('goto');
|
|
|
$alipayUrl = session('user.alipay').$goto;
|
|
|
echo $alipayUrl;
|
|
|
//return $this->fetch(':pay');
|
|
|
}
|
|
|
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|