联系官方销售客服
1835022288
028-61286886
模板标签里面
建立栏目接口,想写个存在下级栏目的时候也循环出来相关数据需要怎么写呢,写了出不来
{category module=news } {php $api[$key]['id']=$t['id'];} {php $api[$key]['name']=$t['name'];} {php $api[$key]['thumb']=dr_thumb($t['thumb']);} {if $t.child} {category module=share pid=$t.id return=c2} {php $api[$key]['id']=$c2['id'];} {php $api[$key]['name']=$c2['name'];} {/category} {/if} {/category}