mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 05:50:50 +00:00
【程序目录】修复活动购买问题
This commit is contained in:
parent
9d793b25cf
commit
bd3e7ccb7b
@ -615,6 +615,8 @@ class StoreCartServices extends BaseServices
|
||||
$item['truePrice'] = $truePrice;
|
||||
$item['vip_truePrice'] = $vip_truePrice;
|
||||
$item['price_type'] = $type;
|
||||
} else {
|
||||
$item['price_type'] = 'activity';
|
||||
}
|
||||
} else {
|
||||
$item['costPrice'] = $item['productInfo']['cost'] ?? 0;
|
||||
@ -626,6 +628,8 @@ class StoreCartServices extends BaseServices
|
||||
$item['truePrice'] = $truePrice;
|
||||
$item['vip_truePrice'] = $vip_truePrice;
|
||||
$item['price_type'] = $type;
|
||||
} else {
|
||||
$item['price_type'] = 'activity';
|
||||
}
|
||||
}
|
||||
if (isset($item['status']) && $item['status'] == 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user