M1850资源网在操作过程中需要批量修改栏目的配置模板,考虑栏目比较多所以采用sql语句进行批量替换,通过测试下面这个语句可以做到很方便:
update dede_arctype set templist = replace(templist,”{style}/list_qz.htm”,’{style}/oz_ongpage.htm’) where id in (29,20,31,35,36,37,38,40,41,42,43,44,45,46,47)
本文由M1850资源网原创,转载请注明出处