|
@@ -339,7 +339,7 @@ class Pay extends Base
|
|
|
* @ApiReturn (重定向到支付宝支付网页)
|
|
|
*
|
|
|
*/
|
|
|
- public function alipay(){
|
|
|
+ public function alipay_simple(){
|
|
|
Hook::add('paid_success', 'addons\\unishop\\behavior\\Order');
|
|
|
|
|
|
$orderId = $this->request->request('order_id', 0);
|
|
@@ -352,9 +352,8 @@ class Pay extends Base
|
|
|
|
|
|
$this->success('支付成功', []);
|
|
|
}
|
|
|
- public function alipay_old()
|
|
|
+ public function alipay()
|
|
|
{
|
|
|
- $this->error('暂不支持支付宝');
|
|
|
$orderId = $this->request->request('order_id', 0);
|
|
|
$orderId = Hashids::decodeHex($orderId);
|
|
|
|