|
@@ -60,8 +60,8 @@ class PayOperService
|
|
|
$epay = get_addon_info('epay');
|
|
|
|
|
|
if ($epay && $epay['state']) {
|
|
|
- $notifyurl = $notifyurl ? $notifyurl : $request->root(true) . '/api/shop/pay/notify/type/notify/paytype/' . $paytype;
|
|
|
- $returnurl = $returnurl ? $returnurl : $request->root(true) . '/api/shop/pay/notify/type/return/paytype/' . $paytype . '/order_sn/' . $order_sn;
|
|
|
+ $notifyurl = $notifyurl ? $notifyurl : $request->root(true) . '/api/pay/notify/type/notify/paytype/' . $paytype;
|
|
|
+ $returnurl = $returnurl ? $returnurl : $request->root(true) . '/api/pay/notify/type/return/paytype/' . $paytype . '/order_sn/' . $order_sn;
|
|
|
|
|
|
//保证取出的金额一致,不一致将导致订单重复错误
|
|
|
$amount = sprintf("%.2f", $order->amount);
|