From d986a122c096b0394061ffbf684f8a73d8b3f3ea Mon Sep 17 00:00:00 2001 From: augushong Date: Mon, 29 Mar 2021 12:31:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=B1=BB=E5=88=AB=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/Category.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/admin/controller/Category.php b/app/admin/controller/Category.php index 6ee270a..e1485df 100644 --- a/app/admin/controller/Category.php +++ b/app/admin/controller/Category.php @@ -126,13 +126,10 @@ class Category extends Common public function update(Request $request, $id) { // - - $post_data = $request->post(); $model_category = ModelCategory::where('title',$post_data['title']) ->where('pid',$post_data['pid']) - ->where('type',$post_data['type']) ->where('id','<>',$id) ->find();