where('id',35)->get(); return $res; } public function check($goodsId) { // TODO: Implement check() method. } public function undo() { // TODO: Implement undo() method. } public function getBanner() { $banner = [ [ 'id' => 1, 'type' => 1, 'path' => 'https://img.lanzu.vip/static/img/dic_banners/dic_banner_0.jpg' ], [ 'id' => 2, 'type' => 1, 'path' => 'https://img.lanzu.vip/static/img/dic_banners/dic_banner_1.jpg' ] ]; return $banner; } }