feat(route): 机核网添加分类标签和标签路由 (#9239)

* Gcores tagging

* Gcore tags

* Comfort v2

* Update router

* Update router.js

* refactor: use cache.tryGet
This commit is contained in:
StevenRCE0
2022-03-06 20:06:37 +08:00
committed by GitHub
parent 0cb66d19b3
commit 6a4b939509
8 changed files with 287 additions and 130 deletions
+8
View File
@@ -2031,6 +2031,14 @@ others = 热点新闻 + 滚动新闻
</Route>
### 标签
<Route author="StevenRCE0" example="/gcores/tag/42/articles" path="/gcores/tag/:tag/:category?" :paramsDesc="['标签名,可在选定标签分类页面的 URL 中找到,如视觉动物——42', '分类名']" radar="1">
分类名同上。
</Route>
## 加美财经
<Route author="nczitzk" example="/caus" path="/caus/:category?" :paramsDesc="['分类,见下表,默认为全部']">