更新label.json,添加地图和印章相关的API支持;修正index.html中的OpenGraph标签图片路径

This commit is contained in:
Zhuym 2025-01-29 22:16:28 +08:00
parent 6e57643f6e
commit 339383f852
2 changed files with 48 additions and 3 deletions

View File

@ -57,9 +57,35 @@
], ],
"confirmBeforeSubmit": true "confirmBeforeSubmit": true
}, },
"unlock": { "map": {
"tab": { "tab": {
"index": 3, "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": "🔓解锁紫铺", "label": "🔓解锁紫铺",
"description": "解锁所有 DX Master 谱面" "description": "解锁所有 DX Master 谱面"
}, },
@ -76,9 +102,28 @@
], ],
"confirmBeforeSubmit": true "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": { "music": {
"tab": { "tab": {
"index": 4, "index": 6,
"label": "✏️修改成绩", "label": "✏️修改成绩",
"description": "⚠警告\n这将[覆写]账户中的成绩数据" "description": "⚠警告\n这将[覆写]账户中的成绩数据"
}, },

View File

@ -13,7 +13,7 @@
<!-- OpenGraph 标签 --> <!-- OpenGraph 标签 -->
<meta property="og:title" content="TsumugiBoshi|纺星"> <meta property="og:title" content="TsumugiBoshi|纺星">
<meta property="og:description" content="神秘API调试工具"> <meta property="og:description" content="神秘API调试工具">
<meta property="og:image" content="image\og-image.png"> <meta property="og:image" content="image/og-image.png">
<meta property="og:type" content="website"> <meta property="og:type" content="website">
<title>TsumugiBoshi|纺星</title> <title>TsumugiBoshi|纺星</title>