在线升级方法

更新内容如下:
新增实时地图生成开关
新增地图生成数量限制
新增待审内容独立管理
优化内容模型
优化网站地图生成
优化API错误提示
升级后请手动清空缓存!!!
更新文件如下:
/application/cms/info.php
/application/cms/admin/Content.php
/application/cms/admin/Pending.php
/application/cms/admin/Sitemap.php
/application/cms/home/Api.php
/application/cms/home/Tag.php
/application/cms/model/CmsCategory.php
/application/cms/model/CmsContent.php
/application/cms/view/sitemap/index.html
/application/cms/view/pending/index.html
/application/cms/view/content/index.html
更新SQL:
INSERT INTO `hisiphp_system_menu` (`uid`, `pid`, `module`, `title`, `icon`, `url`, `param`, `target`, `sort`, `debug`, `system`, `nav`, `status`, `ctime`)
VALUES
( 0, 0, 'cms', '待审核内容', '', 'cms/pending/index', '', '_self', 0, 0, 0, 0, 1, 1587348471),
(0, 0, 'cms', '状态设置', '', 'cms/pending/status', '', '_self', 0, 0, 0, 0, 1, 1587348524),
(0, 0, 'cms', '旗帜设置', '', 'cms/pending/setFlag', '', '_self', 0, 0, 0, 0, 1, 1587348544),
(0, 0, 'cms', '删除内容', '', 'cms/pending/del', '', '_self', 0, 0, 0, 0, 1, 1587348559);
UPDATE `hisiphp_system_menu` a inner join (select id from `hisiphp_system_menu` where url = 'cms/content' and title='发布管理') c on a.url = 'cms/pending/index' set a.pid = c.id;
UPDATE `hisiphp_system_menu` a inner join (select id from `hisiphp_system_menu` where url = 'cms/pending/index' and title='待审核内容') c on a.url = 'cms/pending/status' set a.pid = c.id;
UPDATE `hisiphp_system_menu` a inner join (select id from `hisiphp_system_menu` where url = 'cms/pending/index' and title='待审核内容') c on a.url = 'cms/pending/setFlag' set a.pid = c.id;
UPDATE `hisiphp_system_menu` a inner join (select id from `hisiphp_system_menu` where url = 'cms/pending/index' and title='待审核内容') c on a.url = 'cms/pending/del' set a.pid = c.id;
请使用开发助手手动添加以下配置:
开发助手 -> 模块列表 -> 内容模块 -> 设计模块 -> 模块配置->添加配置
