mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
修复类别更新
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user