Merge branch 'feature/new_customer' of http://git.dev.yoho.cn/web/yohobuy into feature/new_customer
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -475,8 +475,8 @@ class FloorProcess | @@ -475,8 +475,8 @@ class FloorProcess | ||
475 | $result['list'][$key]['url'] = Helpers::getUrlBySkc($val['product_id'], $val['goods_list'][0]['goods_id'], $val['cn_alphabet']); | 475 | $result['list'][$key]['url'] = Helpers::getUrlBySkc($val['product_id'], $val['goods_list'][0]['goods_id'], $val['cn_alphabet']); |
476 | $result['list'][$key]['img'] = helpers::getImageUrl($val['default_images'], 235, 314); | 476 | $result['list'][$key]['img'] = helpers::getImageUrl($val['default_images'], 235, 314); |
477 | $result['list'][$key]['title'] = $val['product_name']; | 477 | $result['list'][$key]['title'] = $val['product_name']; |
478 | - $result['list'][$key]['salePrice'] = $val['sales_price']; | ||
479 | - $result['list'][$key]['price'] = $val['market_price']; | 478 | + $result['list'][$key]['salePrice'] = number_format($val['sales_price'], 2); |
479 | + $result['list'][$key]['price'] = number_format($val['market_price'], 2); | ||
480 | } | 480 | } |
481 | return array('freshOnly'=>$result); | 481 | return array('freshOnly'=>$result); |
482 | } | 482 | } |
-
Please register or login to post a comment