2022-08-18
下面给出调用问答到首页的代码,供大家参考,适用于织梦dedecms v5.7版本,我是这个版本的,其他版本可以修改表面来进行修正调用 。
织梦dedecms 5.7首页调用问答的代码
1 {dede:sql sql="select hos_ask.id,hos_ask.title,hos_askanswer.content from hos_ask LEFT JOIN hos_askanswer on hos_ask.id=hos_askanswer.askid where hos_askanswer.ifanswer=1 and hos_askanswer.ifcheck=1 and hos_ask.bestanswer=hos_askanswer.id order by hos_ask.id desc LIMIT 0,4"}本站收录的网站若侵害到您的利益,请联系我们删除处理
Copyright ©2020 Guojiz V 5.5All Rights Reserved.