From 16a917c71d0a1b0641328c0da9c3d26c24b482e8 Mon Sep 17 00:00:00 2001 From: liapples Date: Sun, 22 Aug 2021 10:32:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B8=8D=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E7=9A=84=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Api/SlideController.php | 20 -------------------- app/Models/ProductInfo.php | 20 -------------------- 2 files changed, 40 deletions(-) delete mode 100644 app/Http/Controllers/Api/SlideController.php delete mode 100644 app/Models/ProductInfo.php diff --git a/app/Http/Controllers/Api/SlideController.php b/app/Http/Controllers/Api/SlideController.php deleted file mode 100644 index fd197a3..0000000 --- a/app/Http/Controllers/Api/SlideController.php +++ /dev/null @@ -1,20 +0,0 @@ - $this->agent_id, 'status' => 1]) - ->orderBy(DB::raw('sort ASC, id DESC')) - ->limit(10) - ->get(['title','picture', 'type', 'url']); - return $this->success($list); - } -} diff --git a/app/Models/ProductInfo.php b/app/Models/ProductInfo.php deleted file mode 100644 index 79684e0..0000000 --- a/app/Models/ProductInfo.php +++ /dev/null @@ -1,20 +0,0 @@ -belongsTo(Product::class); - } -}