fix(admin): 修复会员价显示问题

- 在 BeforehandOrderLogic 中添加了 $price 变量,用于存储会员价
- 在 IndexController 中添加了 password_hash 函数调用,可能用于测试或调试
This commit is contained in:
mkm 2025-01-13 16:14:37 +08:00
parent 02d6cd5e94
commit 868ff62e87

View File

@ -903,6 +903,7 @@ class BeforehandOrderLogic extends BaseLogic
$v['mark'] = $find['after_sales'];
if ($v['vip_price'] > 0) {
$v['pay_price'] = bcmul($v['vip_price'], $v['nums'], 2);
$price =$v['vip_price'];
} else {
$price = StoreProductGroupPrice::where('product_id', $v['product_id'])->where('group_id', $user_ship)->value('price');
if ($price > 0) {