SELECT `lf_1_news`.`title`,`lf_1_news`.`url`,`lf_1_news`.`thumb`,`lf_1_news`.`description`,`lf_1_news`.`catid`,`lf_1_news`.`hits`,`lf_1_news`.`updatetime` FROM `lf_1_news` WHERE `lf_1_news`.`status` = 9 ORDER BY `lf_1_news`.`updatetime` DESC LIMIT 20,20
/index.php?s=news&c=api&m=template&name=data.html&catid=3&page=1
catid 不起作用。加和不加,或者值不同都是調(diào)用模塊的所有數(shù)據(jù),而非欄目數(shù)據(jù)。
SELECT `lf_1_news`.`title`,`lf_1_news`.`url`,`lf_1_news`.`thumb`,`lf_1_news`.`description`,`lf_1_news`.`catid`,`lf_1_news`.`hits`,`lf_1_news`.`updatetime` FROM `lf_1_news` WHERE `lf_1_news`.`status` = 9 ORDER BY `lf_1_news`.`updatetime` DESC LIMIT 20,20
ajax 加載時(shí)候catid沒(méi)有參與查詢?是接口問(wèn)題?