操作版本:xunruicms 4.5.2 数据库名:alang 记得先备份数据库,并确保cms没有安装news模块,数据库中也没有对应的news表,sql语句如下:UPDATE `dr_1_share_category` SET `mid` = replace (`mid`,'article','news');UPDATE `dr_1_share_index` SET `mid` = replace (`mid`,'article','news');UPDATE `dr_admin_menu` SET `uri` = replace (`url`,'article','news');UPDATE `dr_admin_menu` SET `mark` = replace (`mark`,'article','news');UPDATE `dr_admin_min_menu` SET `uri` = replace (`url`,'article','news');UPDATE `dr_admin_min_menu` SET `mark` = replace (`mark`,'article','news');UPDATE `dr_module` SET `dirname` = replace (`dirname`,'article','news');RENAME TABLE `alang`.`dr_1_article` TO `alang`.`dr_1_news`;RENAME TABLE `alang`.`dr_1_article_category` TO `alang`.`dr_1_news_category`;RENAME TABLE `alang`.`dr_1_article_category_data` TO `alang`.`dr_1_news_category_data`;RENAME TABLE `alang`.`dr_1_article_data_0` TO `alang`.`dr_1_news_data_0`;RENAME TABLE `alang`.`dr_1_article_draft` TO `alang`.`dr_1_news_draft`;RENAME TABLE `alang`.`dr_1_article_flag` TO `alang`.`dr_1_news_flag`;RENAME TABLE `alang`.`dr_1_article_hits` TO `alang`.`dr_1_news_hits`;RENAME TABLE `alang`.`dr_1_article_index` TO `alang`.`dr_1_news_index`;RENAME TABLE `alang`.`dr_1_article_recycle` TO `alang`.`dr_1_news_recycle`;RENAME TABLE `alang`.`dr_1_article_search` TO `alang`.`dr_1_news_search`;RENAME TABLE `alang`.`dr_1_article_time` TO `alang`.`dr_1_news_time`;RENAME TABLE `alang`.`dr_1_article_verify` TO `alang`.`dr_1_news_verify`;
卸载后我怎么把现在的普通文章的 article改为news 呢?因为我有和其他工具做对接,不是news就调用不出来,就是现在栏目和模块要是news