2b69686795
- 新增404页面,优化未找到页面体验,避免被搜索引擎索引 - 增加文件代理接口,隐藏真实文件服务器地址,支持文件请求代理 - 实现/article、/case、/product及/page动态路由兼容列表与详情展示 - 添加动态CMS页面兼容入口处理旧式路径,统一路由与SEO设置 - 新增模板1、模板7、模板2、模板3关于我们页面,实现多模板支持 - 模板增强支持CMS单页内容加载及SEO信息动态设置 - 配置环境变量及Git忽略文件规则辅助开发和构建环境管理
181 lines
24 KiB
SQL
181 lines
24 KiB
SQL
-- 满坛记导航栏 写入 cms_navigation (tenant=10619, top=0)
|
|
-- 生成时间 2026-07-18 13:38:21.516015
|
|
START TRANSACTION;
|
|
|
|
-- 顶级: 首页
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'首页',0,'index','','/','/pages/index.vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',1,0,10,'',0,0,10619);
|
|
SET @t0 = LAST_INSERT_ID();
|
|
|
|
-- 顶级: 关于我们
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'关于我们',0,'page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,20,'',0,0,10619);
|
|
SET @t1 = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@t1) WHERE navigation_id=@t1;
|
|
|
|
-- └ 关于满坛记
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'关于满坛记','@t1','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,100,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 企业文化
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'企业文化','@t1','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,110,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 企业荣誉
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'企业荣誉','@t1','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,120,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 发展历程
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'发展历程','@t1','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,130,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- 顶级: 品牌产品
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'品牌产品',0,'product','','/products','/pages/products/index.vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,30,'',0,0,10619);
|
|
SET @t6 = LAST_INSERT_ID();
|
|
|
|
-- └ 国葵类
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'国葵类','@t6','product','','/product/__ID__','/pages/product/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,100,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 坚果类
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'坚果类','@t6','product','','/product/__ID__','/pages/product/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,110,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 休闲食品类
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'休闲食品类','@t6','product','','/product/__ID__','/pages/product/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,120,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 电商产品
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'电商产品','@t6','product','','/product/__ID__','/pages/product/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,130,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 满坛记礼盒
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'满坛记礼盒','@t6','product','','/product/__ID__','/pages/product/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,140,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 跨界周边
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'跨界周边','@t6','product','','/product/__ID__','/pages/product/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,150,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 海外产品
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'海外产品','@t6','product','','/product/__ID__','/pages/product/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,160,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- 顶级: 满坛记质造
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'满坛记质造',0,'page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,40,'',0,0,10619);
|
|
SET @t14 = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@t14) WHERE navigation_id=@t14;
|
|
|
|
-- └ 瓜子质造
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'瓜子质造','@t14','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,100,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 坚果制造
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'坚果制造','@t14','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,110,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- 顶级: 坚果营养知多少
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'坚果营养知多少',0,'page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,50,'',0,0,10619);
|
|
SET @t17 = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@t17) WHERE navigation_id=@t17;
|
|
|
|
-- └ 坚果营养小知识
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'坚果营养小知识','@t17','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,100,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 坚果功效小科普
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'坚果功效小科普','@t17','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,110,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- 顶级: 新闻中心
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'新闻中心',0,'article','','/news','/pages/news/index.vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,60,'',0,0,10619);
|
|
SET @t20 = LAST_INSERT_ID();
|
|
|
|
-- └ 新闻资讯
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'新闻资讯','@t20','article','','/article/__ID__','/pages/article/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,100,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 企业视频
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'企业视频','@t20','article','','/article/__ID__','/pages/article/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,110,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 招投标公告
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'招投标公告','@t20','article','','/article/__ID__','/pages/article/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,120,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- 顶级: 社会责任
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'社会责任',0,'page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,70,'',0,0,10619);
|
|
SET @t24 = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@t24) WHERE navigation_id=@t24;
|
|
|
|
-- └ 社会责任新闻
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'社会责任新闻','@t24','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,100,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 社会责任报告
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'社会责任报告','@t24','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,110,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- 顶级: 投资者关系
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'投资者关系',0,'page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,80,'',0,0,10619);
|
|
SET @t27 = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@t27) WHERE navigation_id=@t27;
|
|
|
|
-- └ 投资者沟通
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'投资者沟通','@t27','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,100,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 定期报告
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'定期报告','@t27','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,110,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- 顶级: 满坛记透明工厂
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'满坛记透明工厂',0,'page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,90,'',0,0,10619);
|
|
SET @t30 = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@t30) WHERE navigation_id=@t30;
|
|
|
|
-- └ 透明工厂视频集锦
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'透明工厂视频集锦','@t30','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,100,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- 顶级: 联系我们
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'联系我们',0,'page','','/contact','/pages/contact.vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,100,'',0,0,10619);
|
|
SET @t32 = LAST_INSERT_ID();
|
|
|
|
-- └ 联系我们
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'联系我们','@t32','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,100,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 大客户团购
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'大客户团购','@t32','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,110,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
-- └ 加入我们
|
|
INSERT INTO cms_navigation (type,title,parent_id,model,code,path,component,target,icon,banner,color,hide,permission,password,position,top,bottom,active,meta,style,parent_path,parent_name,model_name,page_id,item_id,lang_category_id,is_mp_weixin,gutter,span,read_num,user_id,merchant_id,lang,home,recommend,sort_number,comments,deleted,status,tenant_id) VALUES (0,'加入我们','@t32','page','','/page/__ID__','/pages/page/[id].vue','_self',NULL,NULL,NULL,0,0,NULL,2,0,1,NULL,'',NULL,NULL,NULL,'',0,0,0,0,0,24,10,0,0,'zh_CN',0,0,120,'',0,0,10619);
|
|
SET @cid = LAST_INSERT_ID();
|
|
UPDATE cms_navigation SET path=REPLACE(path,'__ID__',@cid) WHERE navigation_id=@cid;
|
|
|
|
COMMIT; |