fix(route): dx2025/category policy-achievement is failure and refactor to V2 (#9592)
This commit is contained in:
parent
17658b331e
commit
fa3428f8fc
|
|
@ -1664,9 +1664,9 @@ area 分区选项
|
|||
|
||||
内容类别
|
||||
|
||||
| 产业观察 | 行业报告 | 政策 & 成效 |
|
||||
| -------------------- | ---------------- | ------------------ |
|
||||
| industry-observation | industry-reports | policy-achievement |
|
||||
| 产业观察 | 行业报告 | 政策 | 数据 |
|
||||
| -------------------- | ---------------- | ------ | ---- |
|
||||
| industry-observation | industry-reports | policy | data |
|
||||
|
||||
行业分类
|
||||
|
||||
|
|
|
|||
|
|
@ -3457,7 +3457,7 @@ router.get('/blizzard/news/:language?/:category?', lazyloadRouteHandler('./route
|
|||
router.get('/deepmind/blog/:category?', lazyloadRouteHandler('./routes/deepmind/blog'));
|
||||
|
||||
// 东西智库
|
||||
router.get('/dx2025/:type?/:category?', lazyloadRouteHandler('./routes/dx2025/index'));
|
||||
// router.get('/dx2025/:type?/:category?', lazyloadRouteHandler('./routes/dx2025/index'));
|
||||
|
||||
// DeepL
|
||||
router.get('/deepl/blog/:lang?', lazyloadRouteHandler('./routes/deepl/blog'));
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
module.exports = {
|
||||
'/:type?/:category?': ['nczitzk'],
|
||||
};
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
module.exports = {
|
||||
'dx2025.com': {
|
||||
_name: '东西智库',
|
||||
'.': [
|
||||
{
|
||||
title: '分类',
|
||||
docs: 'https://docs.rsshub.app/multimedia.html#e-hentai-fen-lei',
|
||||
source: ['/archives/category/:type/:category?', '/archives/category/:type'],
|
||||
target: (params) => `/dx2025/${params.type}/${params.category ? params.category : ''}`,
|
||||
},
|
||||
{
|
||||
title: '标签',
|
||||
docs: 'https://docs.rsshub.app/multimedia.html#e-hentai-biao-qian',
|
||||
source: ['/archives/tag/:tag'],
|
||||
target: '/dx2025/tag/:tag',
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
module.exports = function (router) {
|
||||
router.get('/:type?/:category?', require('./index'));
|
||||
};
|
||||
Loading…
Reference in New Issue