|
|
|
@ -50,8 +50,8 @@ class Zone extends BaseController |
|
|
|
|
|
|
|
$info = ZoneGoods::where(['status' => 1,'id' => $zoneGoodsId]) |
|
|
|
->field('max_awards_amount,content,price,bg_image') |
|
|
|
->find() |
|
|
|
->toArray(); |
|
|
|
->find(); |
|
|
|
if (empty($info)) $this->renderError('数据不存在'); |
|
|
|
$info['important'] = '最高中奖金额'.format_money($info['max_awards_amount']); |
|
|
|
if ($info['bg_image']) $info['bg_image'] = get_image_url($info['bg_image']); |
|
|
|
unset($info['max_awards_amount']); |
|
|
|
|