1, 'type' => $type, ]; $list = Db::name('banner')->field('id, title, image, url')->where($where)->order('weigh', 'desc')->select(); $list = list_domain_image($list, ['image']); $this->success(1, $list); } }