|
@@ -176,7 +176,7 @@ class Order extends Base
|
|
|
Db::name('store_order')->where('id',$order_id)->update(array('pay_no'=>$pay_no,'pay_type'=>$pay_type));
|
|
|
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($config){
|
|
|
Db::commit();
|
|
@@ -187,7 +187,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($config){
|
|
|
Db::commit();
|