...
|
...
|
@@ -92,6 +92,7 @@ class Menu extends Backend |
|
|
} catch (\Exception $e) {
|
|
|
$this->error($e->getMessage());
|
|
|
}
|
|
|
print_r($list);return;
|
|
|
if (isset($list['menu']['button'])) {
|
|
|
$buttons = $list['menu']['button'];
|
|
|
foreach ($buttons as $index => &$item) {
|
...
|
...
|
@@ -111,7 +112,7 @@ class Menu extends Backend |
|
|
$this->wechatcfg->save();
|
|
|
$this->success();
|
|
|
} else {
|
|
|
$this->error("111加载菜单失败");
|
|
|
$this->error("加载菜单失败");
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|