[{ "name": "根栏目", <#if chnlIds??&&chnlIds?size gt 0> "checked":true, "open": true <#if chnlList?size gt 0>, "isParent": true, "children": [ <#list chnlList as channel> { "id": "${channel.id}", "name": "${channel.name!}", <#if chnlIds??&&chnlIds?seq_contains(channel.id)> "checked":true, <#if channel.child?size gt 0> <#assign clist=channel.child> "isParent": true, "open": false, <#include "chnl.ftl"> <#else> "isParent": false }<#if channel_has_next>, ] }]