联系官方销售客服
1835022288
028-61286886
modules多模块内容调用时,order排序失效,默认按照采集文章添加顺序排列,如下debug信息
标签解析:{list action=modules module=ziyou,news catid=6,7,8 num=6 thumb=1 field=title,url,thumb,fstatus order=displayorder,updatetime cache=3600} 查询解析: SELECT title,url,thumb,fstatus,mid FROM (SELECT title,url,thumb,fstatus,'ziyou' AS mid FROM `dr_1_ziyou` WHERE `status`=9 and `dr_1_ziyou`.`catid` IN (6,7,8) UNION ALL SELECT title,url,thumb,fstatus,'news' AS mid FROM `dr_1_news` WHERE `status`=9 and (`dr_1_news`.`catid` IN (6,7,8) OR `dr_1_news`.`catids` LIKE "%\"6\"%" OR `dr_1_news`.`catids` LIKE "%\"7\"%" OR `dr_1_news`.`catids` LIKE "%\"8\"%")) as my WHERE `my`.`thumb`<>'' LIMIT 6 开发模式:已关闭 数据缓存:未设置 总记录数:6 分页功能:未开启 可用字段:title、url、thumb、fstatus、mid
你没有把order的字段加入到field里面,肯定无效了