From 339383f852b03facbd9d5f720aa88b0c1fa226c0 Mon Sep 17 00:00:00 2001 From: Zhuym Date: Wed, 29 Jan 2025 22:16:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0label.json=EF=BC=8C=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=9C=B0=E5=9B=BE=E5=92=8C=E5=8D=B0=E7=AB=A0=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E7=9A=84API=E6=94=AF=E6=8C=81=EF=BC=9B=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3index.html=E4=B8=AD=E7=9A=84OpenGraph=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E5=9B=BE=E7=89=87=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/label.json | 49 +++++++++++++++++++++++++++++++++++++++++++++-- index.html | 2 +- 2 files changed, 48 insertions(+), 3 deletions(-) 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 @@ - + TsumugiBoshi|纺星