1.主后台修改分类报错
This commit is contained in:
parent
7dbc69983d
commit
58e2af715f
@ -167,7 +167,7 @@ class CategoryLogic
|
||||
$data = [
|
||||
'name' => $post['name'],
|
||||
'sort' => $post['sort'],
|
||||
'is_show' => $post['is_show'],
|
||||
'is_show' => isset($post['is_show'])?$post['is_show']:1,
|
||||
'image' => isset($post['image']) ? clearDomain($post['image']) : '',
|
||||
'bg_image' => isset($post['bg_image']) ? clearDomain($post['bg_image']) : '',
|
||||
'level' => $level+1,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user