當前欄目下的子欄目數量
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}