Commit 6b4a4f75 authored by zhangjun's avatar zhangjun

修改

parent 82d87465
......@@ -1913,7 +1913,7 @@ class User extends MY_Controller
// 使用优惠券
if ( GB_CITY == 'nj' ) {
if( isset( $use_coupon ) && $use_coupon == 1 ) {
$couponRes = $this->user_model->checkCoupon( $this->user_id, $coupon_id, $price );
$couponRes = $this->user_model->checkCoupon( $this->user_id, $coupon_id, $price, 2 );
if ( isset( $couponRes['result'] ) && $couponRes['result'] == 1 ) {
$price = $price - $couponRes['data']['coupon_price'] ;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment