Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -59,6 +59,7 @@ class Wechat extends Common{ | @@ -59,6 +59,7 @@ class Wechat extends Common{ | ||
| 59 | if (! empty($foot_menu)) { | 59 | if (! empty($foot_menu)) { |
| 60 | foreach ($foot_menu as $k => $v) { | 60 | foreach ($foot_menu as $k => $v) { |
| 61 | $foot_menu[$k]['child'] = ''; | 61 | $foot_menu[$k]['child'] = ''; |
| 62 | + $wx_menu = db('wx_menu'); | ||
| 62 | $second_menu = $wx_menu->where(['instance_id'=>$instance_id,'pid'=>$v['menu_id']])->order('sort asc')->select(); | 63 | $second_menu = $wx_menu->where(['instance_id'=>$instance_id,'pid'=>$v['menu_id']])->order('sort asc')->select(); |
| 63 | if (! empty($second_menu)) { | 64 | if (! empty($second_menu)) { |
| 64 | $foot_menu[$k]['child'] = $second_menu; | 65 | $foot_menu[$k]['child'] = $second_menu; |
-
Please register or login to post a comment