Tsumugiboshi/config/label.json
2025-01-28 15:22:18 +08:00

162 lines
4.1 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"forms": {
"login": {
"tab": {
"index": 0,
"label": "🪪登录",
"description": "上传登录二维码解码后的字符串来获取 userID"
},
"endpoint": "/qr",
"method": "GET",
"fields": [
{
"id": "qrcode",
"label": "二维码内容",
"type": "text",
"required": true
}
],
"confirmBeforeSubmit": false
},
"ticket": {
"tab": {
"index": 1,
"label": "🎟发6倍票",
"description": "发送「6倍功能票」到账户"
},
"endpoint": "/ticket",
"method": "GET",
"fields": [
{
"id": "userid",
"label": "🪪UserID",
"type": "text",
"required": true
}
],
"confirmBeforeSubmit": true
},
"mapstock": {
"tab": {
"index": 2,
"label": "🗺存入Stock",
"description": "保存 99km Stocks 到账户"
},
"endpoint": "/mapstock",
"method": "GET",
"fields": [
{
"id": "userid",
"label": "🪪UserID",
"type": "text",
"required": true
}
],
"confirmBeforeSubmit": true
},
"unlock": {
"tab": {
"index": 3,
"label": "🔓解锁紫铺",
"description": "解锁所有 DX Master 谱面"
},
"endpoint": "/unlock",
"method": "GET",
"fields": [
{
"id": "userid",
"label": "🪪UserID",
"type": "text",
"required": true
}
],
"confirmBeforeSubmit": true
},
"music": {
"tab": {
"index": 4,
"label": "✏️修改成绩",
"description": "⚠警告\n这将[覆写]账户中的成绩数据"
},
"endpoint": "/music",
"method": "POST",
"fields": [
{
"id": "userId",
"label": "🪪UserID",
"type": "number",
"required": true
},
{
"id": "music.achievement",
"label": "💯分数",
"type": "number",
"placeholder": "1010000",
"required": true
},
{
"id": "music.level",
"label": "🧩难度",
"type": "select",
"options": [
{"value": 0, "label": "0 (🟩Bas)"},
{"value": 1, "label": "1 (🟨Adv)"},
{"value": 2, "label": "2 (🟥Exp)"},
{"value": 3, "label": "3 (🟪Mas)"},
{"value": 4, "label": "4 (⬜ReM)"}
],
"required": true
},
{
"id": "music.comboStatus",
"label": "Full Combo 状态",
"type": "select",
"options": [
{"value": 0, "label": "0 (⚪未FC)"},
{"value": 1, "label": "1 (🟢已FC)"}
],
"required": true
},
{
"id": "music.syncStatus",
"label": "Full Sync 状态",
"type": "select",
"options": [
{"value": 0, "label": "0 (⚪未Sync)"},
{"value": 1, "label": "1 (🔵已Sync)"}
],
"required": true
},
{
"id": "music.musicId",
"label": "🎵musicID",
"type": "number",
"placeholder": "11529",
"required": true
},
{
"id": "music.playCount",
"label": "🎰游玩次数",
"type": "number",
"placeholder": "1",
"required": true
},
{
"id": "music.deluxscoreMax",
"label": "🔢deluxe分数",
"type": "number",
"required": true
},
{
"id": "music.scoreRank",
"label": "scoreRank",
"type": "number",
"required": true
}
],
"confirmBeforeSubmit": true,
"confirmTemplate": "即将发送的数据:\nUserID: {userId}\n歌曲ID: {music.musicId}\nachievement: {music.achievement}\n难度: {music.level}\nFC状态: {music.comboStatus}\nsyncStatus: {music.syncStatus}\nFS状态:{music.syncStatus}\n\n原始请求:\n{rawData}"
}
}
}