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