feat: PageKey枚举加control/userdetail/peerStats/profile

This commit is contained in:
mediabot-pt
2026-07-09 23:29:47 +08:00
parent d79b8ddf22
commit 252dbe5f86

View File

@@ -11,8 +11,11 @@ public enum PageKey {
SEARCH("search", "搜索", "GET"), SEARCH("search", "搜索", "GET"),
DOWNLOAD("download", "下载", "GET"), DOWNLOAD("download", "下载", "GET"),
RSS("rss", "RSS", "GET"), RSS("rss", "RSS", "GET"),
// detail 仅供脚本内 context.fetch("detail", ...) 使用,medibo 不直接调用 DETAIL("detail", "资源详情", "GET"),
DETAIL("detail", "资源详情", "GET"); CONTROL("control", "控制面板", "GET"),
USERDETAIL("userdetail", "用户详情", "GET"),
PEERSTATS("peerStats", "做种统计", "POST"),
PROFILE("profile", "用户信息", "POST");
private final String key; private final String key;
private final String label; private final String label;