|
@@ -183,7 +183,7 @@ class Order extends Base
|
|
|
$coupon_ids = array_column($coupon,'id');
|
|
|
if(in_array($coupon_id,$coupon_ids)){
|
|
|
foreach($coupon as $key => $cou){
|
|
|
- if($cou['id'] == $coupon_id){
|
|
|
+ if($cou['cu_id'] == $coupon_id){
|
|
|
$discountPrice = $cou['value'];
|
|
|
}
|
|
|
}
|