文章上個月添加數量統計標簽
2022-11-28 加入收藏
{eyou:sql sql='SELECT count(aid) AS count FROM ey_archives WHERE status = 1 AND PERIOD_DIFF( date_format( now() , "%Y%m" ) , date_format( FROM_UNIXTIME(add_time), "%Y%m" ) ) =1 AND channel = 1' cachetime='-1'}{$field.count}{/eyou:sql}