fix: restore /hrbeu/ugs/news.js (#11224)

* fix: restore /heu/ugs/news.js

* Update lib/v2/heu/ugs/news.js

* Update lib/v2/heu/ugs/news.js

* Update lib/v2/heu/ugs/news.js

* feat(require): update require

* refactor: mise fixes

* rename namespace to hrbeu
- hrbeu.edu.cn is the primary domain name as it's where the contact us mail hosted on

* increase code readability
- use template literals over .concat()
- use .includes() to check the existence of sth

* remove fake publish time

* remove duplicated title in description

* fix: fetch article from wechat mp

* fix: codeql
This commit is contained in:
Derek
2022-11-09 22:31:19 +08:00
committed by GitHub
parent ba2c3419b6
commit c07c960957
14 changed files with 210 additions and 157 deletions

View File

@@ -8,6 +8,7 @@
* lib/v2/pku/nsd/gd
* lib/v2/sdu/cs
* lib/v2/nua/utils
* lib/v2/hrbeu
*
* If your new route is not in the above folders, please add it to the list.
*