求助 版主:官方研发技术组
如何查询两个模块某一个推荐位的数据
类型:迅睿CMS 更新时间:2022-01-11 20:20:47

如何查询两个模块某一个推荐位的数据,并且排序

回帖
  • 官方研发技术-李老师
    #1楼    官方研发技术-李老师
    2022-01-11 18:08:39
    Chrome 0
    module module=a,b flag=1
  • zongxing
    #2楼    zongxing
    2022-01-11 18:09:54
    Chrome 0
    官方研发技术-李老师 可以提供一个sql语句吗
  • zongxing
    #3楼    zongxing
    2022-01-11 18:28:34
    Chrome 0
    官方研发技术-李老师 那个module好像只能填写一个模块,我在填写第二个模块的时候出不来了,填写一个的时候可以
  • 官方研发技术-李老师
    #4楼    官方研发技术-李老师
    2022-01-11 19:19:27
    Chrome 0
    sql格式可以百度搜索下,多表联合查询
  • LandQ
    #5楼    LandQ
    2022-01-11 20:20:47
    Chrome 0
    zongxing 试试这个{modules module=news,product field=id,title,url,thumb,description,keywords,updatetime,catid flag=1 order=updatetime num=10 cache=1}{php $table=$t.mid.'_flag';}<p> {$t.id} - {$t.title} - {table table_site=$table id=$t.id return=c}{dr_mod_value($t.mid, 'setting', 'flag', $c.flag, 'name')}&nbsp;{/table}</p>{/modules}