当前栏目下的子栏目数量
2022-11-28 加入收藏
{eyou:assign name="typeid" value="$eyou.field.typeid"}//栏目页显示数量,列表显示的话改$field.typeid {eyou:sql sql='Select count(*) as AllNum from ey_arctype where parent_id = $typeid AND is_del = 0 AND status = 1' cachetime='-1'} {$field.AllNum} {/eyou:sql}