有没有办法排除某一个栏目呢? 迅睿框架 更新 2021-05-18 10:34:04 村长 请问一下,{count action=module module=news catid=1}有没有办法排除某一个栏目呢?谢谢
{php $w = urlencode('catid not in(1,2,3)');} 排除1,2,3栏目 {count action=module module=news where=$w}参考文档:《在循环标签中使用自定义SQL条件where》