mirror of
https://github.com/Zhuym07/Tsumugiboshi.git
synced 2025-05-21 04:37:28 +08:00
167 lines
4.3 KiB
JSON
167 lines
4.3 KiB
JSON
{
|
||
"forms": {
|
||
"login": {
|
||
"tab": {
|
||
"index": 0,
|
||
"label": "🪪登录",
|
||
"description": "上传登录二维码解码后的字符串来获取 userID"
|
||
},
|
||
"endpoint": "/qr",
|
||
"method": "GET",
|
||
"queryParams": ["qrcode"],
|
||
"fields": [
|
||
{
|
||
"id": "qrcode",
|
||
"label": "SGWCMAID0000...",
|
||
"type": "text",
|
||
"required": true
|
||
}
|
||
],
|
||
"confirmBeforeSubmit": false
|
||
},
|
||
"ticket": {
|
||
"tab": {
|
||
"index": 1,
|
||
"label": "🎟️发6倍票",
|
||
"description": "发送「6倍功能票」到账户"
|
||
},
|
||
"endpoint": "/ticket",
|
||
"method": "GET",
|
||
"queryParams": ["userid"],
|
||
"fields": [
|
||
{
|
||
"id": "userid",
|
||
"label": "🪪UserID",
|
||
"type": "text",
|
||
"required": true
|
||
}
|
||
],
|
||
"confirmBeforeSubmit": true
|
||
},
|
||
"mapstock": {
|
||
"tab": {
|
||
"index": 2,
|
||
"label": "🗺️存入Stock",
|
||
"description": "保存 99km Stocks 到账户"
|
||
},
|
||
"endpoint": "/mapstock",
|
||
"method": "GET",
|
||
"queryParams": ["userid"],
|
||
"fields": [
|
||
{
|
||
"id": "userid",
|
||
"label": "🪪UserID",
|
||
"type": "text",
|
||
"required": true
|
||
}
|
||
],
|
||
"confirmBeforeSubmit": true
|
||
},
|
||
"unlock": {
|
||
"tab": {
|
||
"index": 3,
|
||
"label": "🔓解锁紫铺",
|
||
"description": "解锁所有 DX Master 谱面"
|
||
},
|
||
"endpoint": "/unlock",
|
||
"method": "GET",
|
||
"queryParams": ["userid"],
|
||
"fields": [
|
||
{
|
||
"id": "userid",
|
||
"label": "🪪UserID",
|
||
"type": "text",
|
||
"required": true
|
||
}
|
||
],
|
||
"confirmBeforeSubmit": true
|
||
},
|
||
"music": {
|
||
"tab": {
|
||
"index": 4,
|
||
"label": "✏️修改成绩",
|
||
"description": "⚠警告\n这将[覆写]账户中的成绩数据"
|
||
},
|
||
"endpoint": "/music",
|
||
"method": "POST",
|
||
"requestFormat": "json",
|
||
"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}"
|
||
}
|
||
}
|
||
}
|