state(); $option = '当前小程序'; if ($applet) { foreach ($applet as $k => $v) { if ($applet_value == $v['appid']) { $check = 'selected'; } else { $check = ''; } $option .= ''.$v['name'].''; } } $html = '