1.先看替换内容字符,织梦dedecms
update dede_addonarticle set body=replace(body,原字符,替换后字符)例如:update dede_addonarticle set body=replace(body,刘大湿,张天师)
2.替换缩略图目录 SQL命令:
update dede_archives set litpic=replace(litpic,原字符,后字符)
例如:
update dede_archives set litpic=replace(litpic,uplimg,myimg)
update dede_archives set litpic=replace(litpic,http://www.****.com,http://www.*****.com)