diff --git a/config/label.json b/config/label.json index e9f9195..65f66ea 100644 --- a/config/label.json +++ b/config/label.json @@ -57,9 +57,35 @@ ], "confirmBeforeSubmit": true }, - "unlock": { + "map": { "tab": { "index": 3, + "label": "🗺️领取宝物", + "description": "## 地图宝物领取\n\n可以领取的地图列表:\n- 新手教程(ID: 10001)\n- 樱之林(ID: 10002)\n- 海底遗迹(ID: 10003)\n\n输入地图ID和用户ID即可一键领取该地图所有宝物。" + }, + "endpoint": "/map", + "method": "GET", + "queryParams": ["userid", "mapid"], + "fields": [ + { + "id": "userid", + "label": "🪪UserID", + "type": "text", + "required": true + }, + { + "id": "mapid", + "label": "🗺️地图ID", + "type": "number", + "required": true, + "placeholder": "10001" + } + ], + "confirmBeforeSubmit": true + }, + "unlock": { + "tab": { + "index": 4, "label": "🔓解锁紫铺", "description": "解锁所有 DX Master 谱面" }, @@ -76,9 +102,28 @@ ], "confirmBeforeSubmit": true }, + "bonus": { + "tab": { + "index": 5, + "label": "☑️一键印章", + "description": "为所有现有收藏品的集章卡各盖至9/10个章" + }, + "endpoint": "/bonus", + "method": "GET", + "queryParams": ["userid"], + "fields": [ + { + "id": "userid", + "label": "🪪UserID", + "type": "text", + "required": true + } + ], + "confirmBeforeSubmit": true + }, "music": { "tab": { - "index": 4, + "index": 6, "label": "✏️修改成绩", "description": "⚠警告\n这将[覆写]账户中的成绩数据" }, diff --git a/index.html b/index.html index a10f0a2..611afa0 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@ - +