mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
修改分类里
This commit is contained in:
@@ -63,6 +63,7 @@ class Category extends Common
|
||||
}
|
||||
|
||||
$model_category = ModelCategory::where('title',$post_data['title'])
|
||||
->where('type',$post_data['type'])
|
||||
->where('pid',$post_data['pid'])
|
||||
->find();
|
||||
|
||||
@@ -131,6 +132,7 @@ class Category extends Common
|
||||
|
||||
$model_category = ModelCategory::where('title',$post_data['title'])
|
||||
->where('pid',$post_data['pid'])
|
||||
->where('type',$post_data['type'])
|
||||
->where('id','<>',$id)
|
||||
->find();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user