金柚
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user