更新channel模块

This commit is contained in:
2020-03-26 22:12:31 +08:00
parent 8cd53f9366
commit 336f5af8ad
12 changed files with 209 additions and 124 deletions

View File

@@ -144,8 +144,8 @@ class Menu extends Admin {
$map[] = ['id', '=', $id];
}
if (MenuM::where($map)->delete()) {
$result = MenuM::where($map)->delete()
if (false !== $result) {
Cache::pull('admin_menu_list');
return $this->success('删除成功');
} else {