正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -92,6 +92,7 @@ class Menu extends Backend | @@ -92,6 +92,7 @@ class Menu extends Backend | ||
92 | } catch (\Exception $e) { | 92 | } catch (\Exception $e) { |
93 | $this->error($e->getMessage()); | 93 | $this->error($e->getMessage()); |
94 | } | 94 | } |
95 | + print_r($list);return; | ||
95 | if (isset($list['menu']['button'])) { | 96 | if (isset($list['menu']['button'])) { |
96 | $buttons = $list['menu']['button']; | 97 | $buttons = $list['menu']['button']; |
97 | foreach ($buttons as $index => &$item) { | 98 | foreach ($buttons as $index => &$item) { |
@@ -111,7 +112,7 @@ class Menu extends Backend | @@ -111,7 +112,7 @@ class Menu extends Backend | ||
111 | $this->wechatcfg->save(); | 112 | $this->wechatcfg->save(); |
112 | $this->success(); | 113 | $this->success(); |
113 | } else { | 114 | } else { |
114 | - $this->error("111加载菜单失败"); | 115 | + $this->error("加载菜单失败"); |
115 | } | 116 | } |
116 | } | 117 | } |
117 | 118 |
-
请 注册 或 登录 后发表评论