mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修复微信菜单小程序支持
This commit is contained in:
parent
d454f75129
commit
1f452ab5d5
@ -124,7 +124,7 @@ class Menu extends BasicAdmin {
|
||||
empty($row['content']) && $row['content'] = uniqid();
|
||||
switch ($row['type']) {
|
||||
case 'miniprogram':
|
||||
list($row['appid'], $row['pagepath'], $row['url']) = explode(',', $row['content'] . ',,');
|
||||
list($row['appid'], $row['url'], $row['pagepath']) = explode(',', $row['content'] . ',,');
|
||||
break;
|
||||
case 'view':
|
||||
$row['url'] = preg_match('#^(\w+:)?//#i', $row['content']) ? $row['content'] : url($row['content'], '', true, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user