批量替换文章缩略图地址:update dede_archives set litpic=(REPLACE(litpic,/style/images/,/uploads/style/images/)); 批量替换正文内容超链接:update dede_addonarticle set body=replace(body,href=http://www.baidu.com,href=http://www.lol9.cn); 批
在使用织梦dedecms建站中,很有可能需要用到在首页根据调用某个栏目下的TAG,也就是是按栏目调出TAG,这里就需要用到DEDE 的SQL运行功能 {dede:sql sql=select * from dede_archives a left join dede_taglist t on a.id=t.aid where a.typeid=22 limit 4} a