mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-25 02:53:56 +08:00
[更新]修改微信菜单推送
This commit is contained in:
parent
469cc1ae6c
commit
844fe75187
@ -150,8 +150,7 @@ class Menu extends BasicAdmin
|
|||||||
} else {
|
} else {
|
||||||
$row['url'] = url($row['content'], '', true, true);
|
$row['url'] = url($row['content'], '', true, true);
|
||||||
}
|
}
|
||||||
} elseif
|
} elseif ($row['type'] === 'event') {
|
||||||
($row['type'] === 'event') {
|
|
||||||
if (isset($this->menuType[$row['content']])) {
|
if (isset($this->menuType[$row['content']])) {
|
||||||
list($row['type'], $row['key']) = [$row['content'], "wechat_menu#id#{$row['id']}"];
|
list($row['type'], $row['key']) = [$row['content'], "wechat_menu#id#{$row['id']}"];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user