Browse Source

Revert "配置修改"

This reverts commit b0fa408225.
yijia
v-Brocloni 3 years ago
parent
commit
8c002083e1
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      addons/unishop/controller/Pay.php

+ 3
- 3
addons/unishop/controller/Pay.php View File

@@ -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",
];



Loading…
Cancel
Save