页面
12114页面总览
_page结构
CREATE TABLE `_page` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pageId` varchar(255) DEFAULT NULL COMMENT 'pageId',
`pageName` varchar(255) DEFAULT NULL COMMENT 'page name',
`pageType` varchar(255) DEFAULT NULL COMMENT '页面类型; showInMenu, dynamicInMenu',
`sort` varchar(255) DEFAULT NULL,
`pageHook` text COMMENT '{\n "beforeHook":[\n {"field": "doc", "service": "doc", "serviceFunc": "getDoc"}\n ]\n}',
`operation` varchar(255) DEFAULT 'insert' COMMENT '操作; insert, update, jhInsert, jhUpdate, jhDelete jhRestore',
`operationByUserId` varchar(255) DEFAULT NULL COMMENT '操作者userId',
`operationByUser` varchar(255) DEFAULT NULL COMMENT '操作者用户名',
`operationAt` varchar(255) DEFAULT NULL COMMENT '操作时间; E.g: 2021-05-28T10:24:54+08:00 ',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 93 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '页面表; 软删除未启用;'
帮助
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
帮助 | help | dynamicInMenu | undefined | 11 | null |
登录
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
登录 | login | undefined | { | ||
"beforeHook":[ |
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"}
]
} |
- 接口信息
desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
✅登陆 | login | passwordLogin | null | service | { "service": "user", "serviceFunction": "passwordLogin" } | {} | 231 | insert |
首页
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
首页 | home | seo | undefined | { | |
"beforeHook":[ |
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
} |
- 接口信息
desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
✅分类管理-查询列表 | home | selectCategoryList | null | sql | { "table": "view01_category", "operation": "select" } | {} | 345 | insert |
分类
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
分类 | category | seo | undefined | null | { |
"beforeHook":[ |
{"field": "articleSearch", "service": "article", "serviceFunc": "getArticleList"},
{"field": "articleNewList", "service": "article", "serviceFunc": "getArticleNewest"},
{"field": "category", "service": "category", "serviceFunc": "getCategoryList"},
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
} |
xf文章
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
xf文章 | xfArticle | seo | undefined | null | { |
"beforeHook":[ |
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
} |
搜索
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
搜索 | search | seo | undefined | null | { |
"beforeHook":[ |
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
} |
xfPage文章详情
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
xfPage文章详情 | xfPage | seo | undefined | { | |
"beforeHook":[ |
{"field": "xfPage", "service": "xfPage", "serviceFunc": "getXfPageAndFillArticles"},
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
} |
文章详情
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
文章详情 | article | seo | undefined | null | { |
"beforeHook":[ |
{"field": "article", "service": "article", "serviceFunc": "getArticleAndFillArticles"},
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
} |
- 接口信息
desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
✅文章页面 | article | addComment | null | sql | { "table": "comment", "operation": "jhInsert" } | {} | 461 | insert |
文章
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
文章 | blog | seo | undefined | null | { |
"beforeHook":[ |
{"field": "articleSearch", "service": "article", "serviceFunc": "getArticleList"},
{"field": "articleNewList", "service": "article", "serviceFunc": "getArticleNewest"},
{"field": "category", "service": "category", "serviceFunc": "getCategoryList"},
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
} |
- 接口信息
desc | pageId | actionId | resourceHook | resourceType | resourceData | accessControlTable | appDataSchema | id | operation | operationAt | operationByUser | operationByUserId | requestDemo | responseDemo |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
✅查询分类列表 | blog | selectCategoryList | null | sql | { "table": "view01_category", "operation": "select" } | {} | 462 | insert |
404
- 页面信息
pageName | pageId | pageType | pageFile | sort | pageHook |
---|---|---|---|---|---|
404 | 404 | seo | undefined | null | { |
"beforeHook":[ |
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
} |
_page语句
INSERT INTO _page (id, pageId, pageName, pageType, sort, pageHook, operation, operationByUserId, operationByUser, operationAt) VALUES (2, 'help', '帮助', 'dynamicInMenu', '11', NULL, 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageType, sort, pageHook, operation, operationByUserId, operationByUser, operationAt) VALUES (3, 'login', '登录', '', '', '{
"beforeHook":[
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"}
]
}', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageType, sort, pageHook, operation, operationByUserId, operationByUser, operationAt) VALUES (13, 'home', '首页', 'seo', '', '{
"beforeHook":[
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
}', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageType, sort, pageHook, operation, operationByUserId, operationByUser, operationAt) VALUES (36, 'category', '分类', 'seo', NULL, '{
"beforeHook":[
{"field": "articleSearch", "service": "article", "serviceFunc": "getArticleList"},
{"field": "articleNewList", "service": "article", "serviceFunc": "getArticleNewest"},
{"field": "category", "service": "category", "serviceFunc": "getCategoryList"},
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
}', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageType, sort, pageHook, operation, operationByUserId, operationByUser, operationAt) VALUES (83, 'xfArticle', 'xf文章', 'seo', NULL, '{
"beforeHook":[
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
}', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageType, sort, pageHook, operation, operationByUserId, operationByUser, operationAt) VALUES (84, 'search', '搜索', 'seo', NULL, '{
"beforeHook":[
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
}', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageType, sort, pageHook, operation, operationByUserId, operationByUser, operationAt) VALUES (89, 'xfPage', 'xfPage文章详情', 'seo', '', '{
"beforeHook":[
{"field": "xfPage", "service": "xfPage", "serviceFunc": "getXfPageAndFillArticles"},
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
}', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageType, sort, pageHook, operation, operationByUserId, operationByUser, operationAt) VALUES (90, 'article', '文章详情', 'seo', NULL, '{
"beforeHook":[
{"field": "article", "service": "article", "serviceFunc": "getArticleAndFillArticles"},
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
}', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageType, sort, pageHook, operation, operationByUserId, operationByUser, operationAt) VALUES (91, 'blog', '文章', 'seo', NULL, '{
"beforeHook":[
{"field": "articleSearch", "service": "article", "serviceFunc": "getArticleList"},
{"field": "articleNewList", "service": "article", "serviceFunc": "getArticleNewest"},
{"field": "category", "service": "category", "serviceFunc": "getCategoryList"},
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
}', 'insert', NULL, NULL, NULL);
INSERT INTO _page (id, pageId, pageName, pageType, sort, pageHook, operation, operationByUserId, operationByUser, operationAt) VALUES (92, '404', '404', 'seo', NULL, '{
"beforeHook":[
{"field": "constantUiMap", "service": "constantUi", "serviceFunc": "getConstantUiMap"},
{"field": "userInfo", "service": "user", "serviceFunc": "userInfo"}
]
}', 'insert', NULL, NULL, NULL);