0.88
This commit is contained in:
parent
bf6d0e2124
commit
9ee9e80757
@ -660,9 +660,6 @@ class GoodsLogic extends Logic
|
||||
->select();
|
||||
foreach ($list as &$v) {
|
||||
$v['min_price'] = round(0.88*$v['min_price'],2);
|
||||
if($v['min_price'] == $v['market_price']){
|
||||
$v['market_price'] = round($v['market_price']/0.88,2);
|
||||
}
|
||||
}
|
||||
$set_price_type = 0;
|
||||
if ($set != null&&$settpye!=1) {
|
||||
|
||||
@ -663,6 +663,9 @@ class IndexLogic extends Logic
|
||||
->limit(9)
|
||||
->select()
|
||||
->toArray();
|
||||
foreach ($lists as &$v) {
|
||||
$v['min_price'] = round(0.88*$v['min_price'],2);
|
||||
}
|
||||
$set_price_type = 0;
|
||||
if ($set != null&&$settpye!=1) {
|
||||
foreach ($lists as $key => $value) {
|
||||
@ -765,7 +768,9 @@ class IndexLogic extends Logic
|
||||
->limit(4)
|
||||
->select()
|
||||
->toArray();
|
||||
|
||||
foreach ($lists as &$v) {
|
||||
$v['min_price'] = round(0.88*$v['min_price'],2);
|
||||
}
|
||||
$set_price_type = 0;
|
||||
if ($set != null&&$settpye!=1) {
|
||||
foreach ($lists as $key => $value) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user