This commit is contained in:
“wanyongkang”
2024-03-07 14:17:51 +08:00
parent 6effe8c206
commit db721488c7

View File

@@ -32,8 +32,10 @@ class Package extends Model
$price = $package['LinePrice'] * $discount / 100;
} else {
if (!empty($user_price)) {
if ($package['Id'] == $user_price['PackageId']) {
$price = $user_price['UserPrice'];
foreach ($user_price as $k=>$v) {
if ($package['Id'] == $k) {
$price = $v;
}
}
}
}