feat(CartList): 修改购物车价格计算方式
This commit is contained in:
parent
2b6d62b73c
commit
02c492c1a4
@ -110,7 +110,7 @@ class CartList extends BaseAdminDataLists implements ListsSearchInterface, Lists
|
||||
'off_activity' => $this->off_activity,
|
||||
'total_price' => $this->total_price,
|
||||
'msg' => '',
|
||||
'pay_price' => bcsub($this->total_price, $this->activity_price, 2)
|
||||
'pay_price' => $this->total_price
|
||||
];
|
||||
if($this->off_activity==1){
|
||||
$data['pay_price']=$this->activity_price;
|
||||
|
Loading…
x
Reference in New Issue
Block a user