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