...
|
...
|
@@ -378,8 +378,8 @@ class MarketController extends Controller |
|
|
$data = Db::name('market_business')->where('market_id', $param['market_id'])->where($where)->order('create_time','desc')
|
|
|
->paginate(20)
|
|
|
->each(function($item){
|
|
|
$item['price']=sprintf("%.2f",$item['price']);
|
|
|
$item['vip_price']=sprintf("%.2f",$item['vip_price']);
|
|
|
$item['price']=sprintf("%.4f",$item['price']);
|
|
|
$item['vip_price']=sprintf("%.4f",$item['vip_price']);
|
|
|
return $item;
|
|
|
});
|
|
|
|
...
|
...
|
|