|
@@ -124,7 +124,7 @@ class Order extends Base
|
|
|
}
|
|
|
if($pay_type == 1){ //微信支付
|
|
|
$notify_url = $this->request->root(true) . '/api/Pay/order_notify';
|
|
|
- $price_total = 0.01;
|
|
|
+ //$price_total = 0.01;
|
|
|
$config = Pay::wx_pay('订单支付',$pay_no,$price_total,$notify_url);
|
|
|
if($error == 0 && $config){
|
|
|
Db::commit();
|
|
@@ -135,7 +135,7 @@ class Order extends Base
|
|
|
}
|
|
|
}else{
|
|
|
$notify_url = $this->request->root(true) . '/api/Alipay/order_notify';
|
|
|
- $price_total = 0.01;
|
|
|
+ //$price_total = 0.01;
|
|
|
$config = Alipay::ali_pay('订单支付',$pay_no,$price_total,$notify_url);
|
|
|
if($error == 0 && $config){
|
|
|
Db::commit();
|