转换金额

This commit is contained in:
liu 2024-07-05 19:19:45 +08:00
parent 988adf0795
commit a6eb80bbd0

View File

@ -112,6 +112,7 @@ class CartList extends BaseAdminDataLists implements ListsSearchInterface, Lists
'pay_price' => $this->total_price
];
if($this->off_activity==1){
$this->activity_price = $this->total_price;
$data['pay_price']=$this->activity_price;
if($this->activity_price<500){
$data['msg']='还差'.bcsub(500,$this->activity_price,2).'即可获得10%的品牌礼品兑换券,可到线下门店兑换礼品。';