[SQL语句]
SELECT COUNT(*) AS total FROM `kj168988` . `yzm_article` WHERE status=1 AND catid=10 AND FIND_IN_SET('2',flag);
SELECT title,inputtime,url,description FROM `kj168988` . `yzm_article` WHERE status=1 AND catid=10 AND FIND_IN_SET('2',flag) ORDER BY listorder ASC,id DESC LIMIT 0,1;
SELECT COUNT(*) AS total FROM `kj168988` . `yzm_article` WHERE status=1 AND catid=10 AND FIND_IN_SET('3',flag);
SELECT title,inputtime,url FROM `kj168988` . `yzm_article` WHERE status=1 AND catid=10 AND FIND_IN_SET('3',flag) ORDER BY listorder ASC,id DESC LIMIT 0,4;
SELECT COUNT(*) AS total FROM `kj168988` . `yzm_article` WHERE status=1 AND catid=7;
SELECT title,inputtime,url,description,thumb,click FROM `kj168988` . `yzm_article` WHERE status=1 AND catid=7 ORDER BY listorder ASC,id DESC LIMIT 0,3;
SELECT COUNT(*) AS total FROM `kj168988` . `yzm_article` WHERE status=1 AND catid=6;
SELECT title,inputtime,url,description,thumb,click FROM `kj168988` . `yzm_article` WHERE status=1 AND catid=6 ORDER BY listorder ASC,id DESC LIMIT 0,3;
SELECT title,url,catid FROM `kj168988` . `yzm_article` WHERE status=1 AND catid IN (12,13,14,15,16,17,18) ORDER BY listorder ASC,id DESC LIMIT 10;
SELECT catname FROM `kj168988` . `yzm_category` WHERE catid=18 LIMIT 1;
SELECT catname FROM `kj168988` . `yzm_category` WHERE catid=18 LIMIT 1;
SELECT catname FROM `kj168988` . `yzm_category` WHERE catid=18 LIMIT 1;
SELECT catname FROM `kj168988` . `yzm_category` WHERE catid=18 LIMIT 1;
SELECT catname FROM `kj168988` . `yzm_category` WHERE catid=17 LIMIT 1;
SELECT catname FROM `kj168988` . `yzm_category` WHERE catid=17 LIMIT 1;
SELECT catname FROM `kj168988` . `yzm_category` WHERE catid=17 LIMIT 1;
SELECT catname FROM `kj168988` . `yzm_category` WHERE catid=14 LIMIT 1;
SELECT catname FROM `kj168988` . `yzm_category` WHERE catid=14 LIMIT 1;
SELECT catname FROM `kj168988` . `yzm_category` WHERE catid=14 LIMIT 1;
SELECT COUNT(*) AS total FROM `kj168988` . `yzm_article` WHERE status=1 AND catid=11;
SELECT title,inputtime,url,status FROM `kj168988` . `yzm_article` WHERE status=1 AND catid=11 ORDER BY listorder ASC,id DESC LIMIT 0,20;
[其他信息]
服务器信息:nginx/1.22.1
路由信息:模块( index ),控制器( index ),方法( init ),参数( 无 )