1.主后台修改分类报错

This commit is contained in:
xucong 2024-09-24 15:04:14 +08:00
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,