feat(route): add more shiep sites (#12585)

* refactor: split config

* feat(route): add more shiep sites

* refactor: sort
This commit is contained in:
SUEPbot
2023-06-01 21:04:42 +08:00
committed by GitHub
parent 9394797621
commit 0d410dd012
4 changed files with 406 additions and 57 deletions
+26 -8
View File
@@ -2464,15 +2464,33 @@ jsjxy.hbut.edu.cn 证书链不全,自建 RSSHub 可设置环境变量 NODE_TLS
类型名称与默认 ID:
| 新闻网 | 信息公开网 | 教务处 | 研究生院 / 研工部 | 党委教师工作部、人事处 | 科研处 | 国际交流与合作处(港澳台办公室) | 本科招生网 |
| ------ | ---------- | ------ | ----------------- | ---------------------- | ------ | -------------------------------- | ---------- |
| news | xxgk | jwc | yjsc | rsc | kyc | fao | zs |
| notice | zxgkxx | 227 | 1161 | 1695 | 834 | tzgg | zxxx |
学院一览:
| 能源与机械工程学院 | 环境与化学工程学院 | 电气工程学院 | 自动化工程学院 | 计算机科学与技术学院 | 电子与信息工程学院 | 经济与管理学院 | 数理学院 | 外国语学院 | 继续教育学院 | 马克思主义学院 | 体育学院 |
| ------------------ | ------------------ | ------------ | -------------- | -------------------- | ------------------ | -------------- | -------- | ---------- | ------------ | -------------- | -------- |
| energy | hhxy | dqxy | zdhxy | jsjxy | dxxy | jgxy | slxy | wgyxy | jjxy | skb | tyb |
| 892 | 1231 | 2462 | 2002 | 973 | tzgg | 3633 | 2063 | tzgg | 2582 | 1736 | 2891 |
| 能源与机械工程学院 | 环境与化学工程学院 | 电气工程学院 | 自动化工程学院 | 计算机科学与技术学院 | 电子与信息工程学院 | 经济与管理学院 | 数理学院 | 外国语学院 | 体育学院 | 马克思主义学院 | 人文艺术学院 | 继续教育学院(国际教育学院) |
| ------------------ | ------------------ | ------------ | -------------- | -------------------- | ------------------ | -------------- | -------- | ---------- | -------- | -------------- | ------------ | ---------------------------- |
| energy | hhxy | dqxy | zdhxy | jsjxy | dxxy | jgxy | slxy | wgyxy | tyb | skb | rwysxy | jjxy |
| 892 | 1231 | 2462 | 2002 | 973 | tzgg | 3633 | 2063 | tzgg | 2891 | 1736 | 3089 | 2582 |
党群部门:
| 党委办公室 | 组织部(老干部处、党校) | 党建服务中心/党建督查室 | 宣传部(文明办、融媒体中心) | 文明办 | 统战部 | 机关党委 | 纪委(监察专员办公室) | 巡查办 | 宣传部(文明办、融媒体中心) | 团委 | 工会 | 妇工委 | 离退休党委/退管办 |
| ---------- | ------------------------ | ----------------------- | ---------------------------- | ------- | ------ | -------- | ---------------------- | --------- | ---------------------------- | ---- | ------- | ------ | ----------------- |
| dangban | zzb | djfwzxdcs | xcb | wenming | tzb | jgdw | jijian | xunchaban | xcb | tw | gonghui | fgw | tgb |
| 4014 | 1534 | tzgg | 2925 | 2202 | 3858 | 3205 | 59 | 5044 | 2925 | 2092 | 1806 | 1411 | notice |
行政部门:
| 校长办公室(档案馆) | 对外联络处 | 发展规划处 | 审计处 | 武装部保卫处 | 学生处 | 党委教师工作部/人事处 | 离退休党委/退管办 | 国际交流与合作处(港澳台办公室) | 科研处/融合办 | 教务处 | 研究生院/研工部 | 后勤管理处(后勤服务中心) | 实验室与资产管理处 | 基建处 | 临港新校区建设综合办公室 | 图书馆 | 现代教育技术中心/信息办 | 创新创业工程训练中心 | 资产经营公司/产业办 | 能源电力科创中心 | 技术转移中心 |
| -------------------- | ---------- | ---------- | ------ | ------------ | ------ | --------------------- | ----------------- | -------------------------------- | ------------- | ------ | --------------- | -------------------------- | ------------------ | ------ | ------------------------ | ------- | ----------------------- | -------------------- | ------------------- | ---------------- | ------------ |
| office | dwllc | fzghc | sjc | bwc | xsc | rsc | tgb | fao | kyc | jwc | yjsc | hqglc | sysyzcglc | jjc | lgxq | library | metc | ieetc | cyb | kczx | jszyzx |
| 389 | 2649 | 291 | 199 | tzgg | 3482 | 1695 | notice | tzgg | 834 | 227 | 1161 | 1616 | 312 | 327 | 377 | 4866 | tzgg | cxcy | 367 | 3946 | 4247 |
其它:
| 新闻网 | Shanghai University of Electric Power | 信息公开网 | 本科就业信息网 | 本科招生网 | 上海热交换系统节能工程技术研究中心 | 上海新能源人才技术教育交流中心 | 上海绿色能源并网技术研究中心 | 能源化学实验教学中心 | 教师教学发展中心 | 上海市电力材料防护与新材料重点实验室 |
| ------ | ------------------------------------- | ---------- | -------------- | ---------- | ---------------------------------- | ------------------------------ | ---------------------------- | -------------------- | ---------------- | ------------------------------------ |
| news | english | xxgk | career | zs | energy-saving | gec | green-energy | hhsyzx | jsjxfzzx | mpep |
| notice | events | zxgkxx | tzgg | zxxx | tzgg | 1959 | 118 | 3709 | 3909 | 1134 |
参数与来源页面对应规则为:`https://${type}.shiep.edu.cn/${id}/list.htm`
+64
View File
@@ -0,0 +1,64 @@
const config = {
bwc: { title: '武装部保卫处', id: 'tzgg' },
career: { title: '本科就业信息网', id: 'tzgg', listSelector: 'ul.newsList', pubDateSelector: 'li[class="span2 y"]', descriptionSelector: '.aContent' },
cyb: { title: '资产经营公司/产业办', id: '367' },
dangban: { title: '党委办公室', id: '4014' },
djfwzxdcs: { title: '党建服务中心/党建督查室', id: 'tzgg', listSelector: '.news', pubDateSelector: 'span[class="news_meta"]' },
dqxy: { title: '电气工程学院', id: '2462' },
dwllc: { title: '对外联络处', id: '2649' },
dxxy: { title: '电子与信息工程学院', id: 'tzgg', pubDateSelector: 'div[class="article-publishdate"]' },
energy: { title: '能源与机械工程学院', id: '892' },
'energy-saving': { title: '上海热交换系统节能工程技术研究中心', id: 'tzgg' },
english: { title: 'Shanghai University of Electric Power', id: 'events' },
fao: { title: '国际交流与合作处(港澳台办公室)', id: 'tzgg' },
fgw: { title: '妇工委', id: '1411' },
fzghc: { title: '发展规划处', id: '291' },
gec: { title: '上海新能源人才技术教育交流中心', id: '1959' },
gonghui: { title: '工会', id: '1806', listSelector: 'table.wp_article_list_table tr', pubDateSelector: 'td[align="right"]' },
'green-energy': { title: '上海绿色能源并网技术研究中心', id: '118' },
hhsyzx: { title: '能源化学实验教学中心', id: '3709' },
hhxy: { title: '环境与化学工程学院', id: '1231' },
hqglc: { title: '后勤管理处(后勤服务中心)', id: '1616' },
ieetc: { title: '创新创业工程训练中心', id: 'cxcy', pubDateSelector: 'div[class="article-publishdate"]' },
jgdw: { title: '机关党委', id: '3205' },
jgxy: { title: '经济与管理学院', id: '3633' },
jijian: { title: '纪委(监察专员办公室)', id: '59' },
jjc: { title: '基建处', id: '327' },
jjxy: { title: '继续教育学院(国际教育学院)', id: '2582' },
jsjxfzzx: { title: '教师教学发展中心', id: '3909' },
jsjxy: { title: '计算机科学与技术学院', id: '973' },
jszyzx: { title: '技术转移中心', id: '4247' },
jwc: { title: '教务处', id: '227' },
kczx: { title: '能源电力科创中心', id: '3946' },
kyc: { title: '科研处/融合办', id: '834' },
lgxq: { title: '临港新校区建设综合办公室', id: '377' },
library: { title: '图书馆', id: '4866' },
metc: { title: '现代教育技术中心/信息办', id: 'tzgg', pubDateSelector: 'div[class="article-publishdate"]' },
mpep: { title: '上海市电力材料防护与新材料重点实验室', id: '1134' },
news: { title: '新闻网', id: 'notice' },
office: { title: '校长办公室(档案馆)', id: '389' },
rsc: { title: '党委教师工作部/人事处', id: '1695' },
rwysxy: { title: '人文艺术学院', id: '3089' },
sjc: { title: '审计处', id: '199' },
skb: { title: '马克思主义学院', id: '1736' },
slxy: { title: '数理学院', id: '2063' },
sysyzcglc: { title: '实验室与资产管理处', id: '312' },
tgb: { title: '离退休党委/退管办', id: 'notice', pubDateSelector: 'div[class="article-publishdate"]' },
tw: { title: '团委', id: '2092' },
tyb: { title: '体育学院', id: '2891' },
tzb: { title: '统战部', id: '3858' },
wenming: { title: '文明办', id: '2202' },
wgyxy: { title: '外国语学院', id: 'tzgg' },
xcb: { title: '宣传部(文明办、融媒体中心)', id: '2925' },
xsc: { title: '学生处', id: '3482' },
xunchaban: { title: '巡查办', id: '5044' },
xxgk: { title: '信息公开网', id: 'zxgkxx' },
yjsc: { title: '研究生院/研工部', id: '1161' },
zdhxy: { title: '自动化工程学院', id: '2002' },
zs: { title: '本科招生网', id: 'zxxx' },
zzb: { title: '组织部(老干部处、党校)', id: '1534' },
};
module.exports = {
config,
};
+13 -34
View File
@@ -4,51 +4,30 @@ const dayjs = require('dayjs');
const path = require('path');
const { parseDate } = require('@/utils/parse-date');
const { art } = require('@/utils/render');
const { config } = require('./config');
module.exports = async (ctx) => {
const type = ctx.params.type;
const config = {
dqxy: { title: '电气工程学院', id: '2462' },
dxxy: { title: '电子与信息工程学院', id: 'tzgg' },
energy: { title: '能源与机械工程学院', id: '892' },
fao: { title: '国际交流与合作处(港澳台办公室)', id: 'tzgg' },
gjjlxy: { title: '国际交流学院', id: 'tzgg' }, // NAME_NOT_RESOLVED
hhxy: { title: '环境与化学工程学院', id: '1231' },
jgxy: { title: '经济与管理学院', id: '3633' },
jjxy: { title: '继续教育学院', id: '2582' },
jsjxy: { title: '计算机科学与技术学院', id: '973' },
jwc: { title: '教务处', id: '227' },
kyc: { title: '科研处', id: '834' },
news: { title: '新闻网', id: 'notice' },
rsc: { title: '党委教师工作部、人事处', id: '1695' },
skb: { title: '马克思主义学院', id: '1736' },
slxy: { title: '数理学院', id: '2063' },
tyb: { title: '体育学院', id: '2891' },
wgyxy: { title: '外国语学院', id: 'tzgg' },
xxgk: { title: '信息公开网', id: 'zxgkxx' },
yjsc: { title: '研究生院/研工部', id: '1161' },
yjzx: { title: '人文艺术学院', id: '3089' }, // NAME_NOT_RESOLVED
zdhxy: { title: '自动化工程学院', id: '2002' },
zs: { title: '本科招生网', id: 'zxxx' },
};
if (!Object.keys(config).includes(type)) {
throw Error('Invalid type');
}
const host = `https://${type}.shiep.edu.cn`;
const id = ctx.params.id || config[type].id;
const pubDateClass = type === 'dxxy' ? 'div[class="article-publishdate"]' : 'span[class="Article_PublishDate"]'; // 适配电子与信息工程学院网站改版
const response = await got(`${host}/${id}/list.htm`);
const link = type === 'career' ? `${host}/news/index/tag/${id}` : `${host}/${id}/list.htm`;
const response = await got(link);
const $ = cheerio.load(response.data);
const items = $('.list_item')
const listSelector = config[type].listSelector || '.list_item';
const pubDateSelector = config[type].pubDateSelector || 'span[class="Article_PublishDate"]';
const descriptionSelector = config[type].descriptionSelector || '.wp_articlecontent';
const items = $(listSelector)
.toArray()
.filter((item) => {
const date = dayjs($(item).find(pubDateClass).text().trim());
const date = dayjs($(item).find(pubDateSelector).text().trim());
return date.isValid();
})
.map((item) => {
@@ -56,7 +35,7 @@ module.exports = async (ctx) => {
return {
title: item.find('a').attr('title') || item.find('a').text(),
link: new URL(item.find('a').attr('href'), host).href,
pubDate: parseDate(item.find(pubDateClass).text().trim(), 'YYYY-MM-DD'),
pubDate: parseDate(item.find(pubDateSelector).text().trim(), 'YYYY-MM-DD'),
};
});
@@ -67,9 +46,9 @@ module.exports = async (ctx) => {
const response = await got(item.link);
const $ = cheerio.load(response.data);
if ($('.wp_articlecontent').length > 0) {
if ($(descriptionSelector).length > 0) {
item.description = art(path.resolve(__dirname, 'templates/description.art'), {
description: $('.wp_articlecontent').html(),
description: $(descriptionSelector).html(),
});
} else {
item.description = '请进行统一身份认证后查看内容';
@@ -84,7 +63,7 @@ module.exports = async (ctx) => {
ctx.state.data = {
title: '上海电力大学-' + config[type].title,
link: `${host}/${id}/list.htm`,
link,
description: '上海电力大学-' + config[type].title,
item: items,
};
+303 -15
View File
@@ -1,6 +1,46 @@
module.exports = {
'shiep.edu.cn': {
_name: '上海电力大学',
bwc: [
{
title: '武装部保卫处',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/bwc/:id',
},
],
career: [
{
title: '本科就业信息网',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/news/index/tag/:id'],
target: '/shiep/career/:id',
},
],
cyb: [
{
title: '资产经营公司/产业办',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/cyb/:id',
},
],
dangban: [
{
title: '党委办公室',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/dangban/:id',
},
],
djfwzxdcs: [
{
title: '党建服务中心/党建督查室',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/djfwzxdcs/:id',
},
],
dqxy: [
{
title: '电气工程学院',
@@ -9,9 +49,17 @@ module.exports = {
target: '/shiep/dqxy/:id',
},
],
dwllc: [
{
title: '对外联络处',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/dwllc/:id',
},
],
dxxy: [
{
title: '电子信息工程学院',
title: '电子与信息工程学院',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/dxxy/:id',
@@ -25,6 +73,22 @@ module.exports = {
target: '/shiep/energy/:id',
},
],
'energy-saving': [
{
title: '上海热交换系统节能工程技术研究中心',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/energy-saving/:id',
},
],
english: [
{
title: 'Shanghai University of Electric Power',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/english/:id',
},
],
fao: [
{
title: '国际交流与合作处(港澳台办公室)',
@@ -33,12 +97,52 @@ module.exports = {
target: '/shiep/fao/:id',
},
],
gjjlxy: [
fgw: [
{
title: '国际交流学院',
title: '妇工委',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/gjjlxy/:id',
target: '/shiep/fgw/:id',
},
],
fzghc: [
{
title: '发展规划处',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/fzghc/:id',
},
],
gec: [
{
title: '上海新能源人才技术教育交流中心',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/gec/:id',
},
],
gonghui: [
{
title: '工会',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/gonghui/:id',
},
],
'green-energy': [
{
title: '上海绿色能源并网技术研究中心',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/green-energy/:id',
},
],
hhsyzx: [
{
title: '能源化学实验教学中心',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/hhsyzx/:id',
},
],
hhxy: [
@@ -49,6 +153,30 @@ module.exports = {
target: '/shiep/hhxy/:id',
},
],
hqglc: [
{
title: '后勤管理处(后勤服务中心)',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/hqglc/:id',
},
],
ieetc: [
{
title: '创新创业工程训练中心',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/ieetc/:id',
},
],
jgdw: [
{
title: '机关党委',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/jgdw/:id',
},
],
jgxy: [
{
title: '经济与管理学院',
@@ -57,14 +185,38 @@ module.exports = {
target: '/shiep/jgxy/:id',
},
],
jijian: [
{
title: '纪委(监察专员办公室)',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/jijian/:id',
},
],
jjc: [
{
title: '基建处',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/jjc/:id',
},
],
jjxy: [
{
title: '继续教育学院',
title: '继续教育学院(国际教育学院)',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/jjxy/:id',
},
],
jsjxfzzx: [
{
title: '教师教学发展中心',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/jsjxfzzx/:id',
},
],
jsjxy: [
{
title: '计算机科学与技术学院',
@@ -73,6 +225,14 @@ module.exports = {
target: '/shiep/jsjxy/:id',
},
],
jszyzx: [
{
title: '技术转移中心',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/jszyzx/:id',
},
],
jwc: [
{
title: '教务处',
@@ -81,14 +241,54 @@ module.exports = {
target: '/shiep/jwc/:id',
},
],
kczx: [
{
title: '能源电力科创中心',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/kczx/:id',
},
],
kyc: [
{
title: '科研处',
title: '科研处/融合办',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/kyc/:id',
},
],
lgxq: [
{
title: '临港新校区建设综合办公室',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/lgxq/:id',
},
],
library: [
{
title: '图书馆',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/library/:id',
},
],
metc: [
{
title: '现代教育技术中心/信息办',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/metc/:id',
},
],
mpep: [
{
title: '上海市电力材料防护与新材料重点实验室',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/mpep/:id',
},
],
news: [
{
title: '新闻网',
@@ -97,14 +297,38 @@ module.exports = {
target: '/shiep/news/:id',
},
],
office: [
{
title: '校长办公室(档案馆)',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/office/:id',
},
],
rsc: [
{
title: '党委教师工作部、人事处',
title: '党委教师工作部/人事处',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/rsc/:id',
},
],
rwysxy: [
{
title: '人文艺术学院',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/rwysxy/:id',
},
],
sjc: [
{
title: '审计处',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/sjc/:id',
},
],
skb: [
{
title: '马克思主义学院',
@@ -121,6 +345,30 @@ module.exports = {
target: '/shiep/slxy/:id',
},
],
sysyzcglc: [
{
title: '实验室与资产管理处',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/sysyzcglc/:id',
},
],
tgb: [
{
title: '离退休党委/退管办',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/tgb/:id',
},
],
tw: [
{
title: '团委',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/tw/:id',
},
],
tyb: [
{
title: '体育学院',
@@ -129,6 +377,22 @@ module.exports = {
target: '/shiep/tyb/:id',
},
],
tzb: [
{
title: '统战部',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/tzb/:id',
},
],
wenming: [
{
title: '文明办',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/wenming/:id',
},
],
wgyxy: [
{
title: '外国语学院',
@@ -137,6 +401,30 @@ module.exports = {
target: '/shiep/wgyxy/:id',
},
],
xcb: [
{
title: '宣传部(文明办、融媒体中心)',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/xcb/:id',
},
],
xsc: [
{
title: '学生处',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/xsc/:id',
},
],
xunchaban: [
{
title: '巡查办',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/xunchaban/:id',
},
],
xxgk: [
{
title: '信息公开网',
@@ -153,14 +441,6 @@ module.exports = {
target: '/shiep/yjsc/:id',
},
],
yjzx: [
{
title: '人文艺术学院',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/yjzx/:id',
},
],
zdhxy: [
{
title: '自动化工程学院',
@@ -177,5 +457,13 @@ module.exports = {
target: '/shiep/zs/:id',
},
],
zzb: [
{
title: '组织部(老干部处、党校)',
docs: 'https://docs.rsshub.app/university.html#shang-hai-dian-li-da-xue',
source: ['/:id/list.htm'],
target: '/shiep/zzb/:id',
},
],
},
};