|
|
@@ -210,7 +210,7 @@ class Pay extends Base |
|
|
|
public function alipay() |
|
|
|
{ |
|
|
|
$orderId = $this->request->request('order_id', 0); |
|
|
|
$orderId = "154898003977703424"; |
|
|
|
$orderId = Hashids::decodeHex($orderId); |
|
|
|
|
|
|
|
$orderModel = new \addons\unishop\model\Order(); |
|
|
|
$order = $orderModel->where(['id' => $orderId])->find(); |
|
|
@@ -230,8 +230,8 @@ class Pay extends Base |
|
|
|
'orderid' => $order->out_trade_no, |
|
|
|
'type' => "alipay", |
|
|
|
'title' => $body, |
|
|
|
'notify_url' => AliPayConfig::getByName('ali_notify_url'), |
|
|
|
'return_url' => AliPayConfig::getByName('ali_return_url'), |
|
|
|
'notifyurl' => AliPayConfig::getByName('ali_notify_url'), |
|
|
|
'returnurl' => AliPayConfig::getByName('ali_return_url'), |
|
|
|
'method' => "wap", |
|
|
|
]; |
|
|
|
|
|
|
|