作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

1

... ... @@ -248,9 +248,9 @@ class Cart extends Model
}
}else{
if(count($coupon['list']) > 0 && $coupon['list'][0]['isusable'] == '1'){
$coupon['user_coupon_id'] = $coupon['list'][0]['id'];
$coupon['coupon_name'] = $coupon['list'][0]['coupon_name'];
$coupon['coupon_price'] = $coupon['list'][0]['coupon_price'];
$coupon['user_coupon_id'] = $coupon['list'][0]['coupon']['id'];
$coupon['coupon_name'] = $coupon['list'][0]['coupon']['coupon_name'];
$coupon['coupon_price'] = $coupon['list'][0]['coupon']['coupon_price'];
}
}
// 实际支付金额
... ...