|
|
@@ -376,7 +376,8 @@ class ProductController extends BaseController
|
|
|
$currentAddPrice = bcsub($val, $product->cost, 2);
|
|
|
|
|
|
$skDiff = bcsub($product->skAddPrice, $product->addPrice, 2);
|
|
|
- $newSkAddPrice = bcsub($currentAddPrice, $skDiff, 2);
|
|
|
+ //散客价比普通会员价高,所以是相加
|
|
|
+ $newSkAddPrice = bcadd($currentAddPrice, $skDiff, 2);
|
|
|
|
|
|
$hjDiff = bcsub($product->addPrice, $product->hjAddPrice, 2);
|
|
|
$newHjAddPrice = bcsub($currentAddPrice, $hjDiff, 2);
|