Browse Source

优化

master
wanghongjun 2 years ago
parent
commit
3ce6831fed
  1. 2
      app/model/ZoneGoods.php

2
app/model/ZoneGoods.php

@ -14,7 +14,7 @@ class ZoneGoods extends \think\Model
$list = self::where($where)->field($field)->order('id desc')->select()->toArray();
foreach ($list as &$item) {
if ($item['cover_image']) $item['cover_image'] = get_image_url($item['cover_image']);
if (!$is_manage) {
if ($is_manage) {
$item['important'] = '最高中奖金额'.format_money($item['max_awards_amount']);
unset($item['status']);
unset($item['max_awards_amount']);

Loading…
Cancel
Save