文章上周添加數(shù)量統(tǒng)計(jì)標(biāo)簽
2022-11-28 加入收藏
{eyou:sql sql='SELECT count(aid) AS count FROM ey_archives WHERE status = 1 AND YEARWEEK(date_format(FROM_UNIXTIME(ADD_TIME),"%Y-%m-%d")) = YEARWEEK(now())-1 AND channel = 1' cachetime='-1'}{$field.count}{/eyou:sql}