mirror of
https://github.com/Zhuym07/Tsumugiboshi.git
synced 2025-05-20 19:17:27 +08:00
233 lines
6.3 KiB
JSON
233 lines
6.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,
|
||
"confirmCount": 2,
|
||
"confirmMessages": [
|
||
"警告(1/2)\n\n这将修改ID={music.musicId}账号内的数据",
|
||
"警告(2/2)\n\n您是否确认修改这些数据?"
|
||
]
|
||
},
|
||
"map": {
|
||
"tab": {
|
||
"index": 3,
|
||
"label": "🏃➡️一键跑图",
|
||
"description": "## 一键完成区域\n\n可以领取的地图列表:\n-\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,
|
||
"confirmCount": 3,
|
||
"confirmMessages": [
|
||
"警告(1/3)\n\n这将永久修改ID={music.musicId}账号内的数据",
|
||
"警告(2/3)\n\n即将修改的数据:\n地图ID: {mapid}\n\n原始请求:\n{rawData}",
|
||
"警告(3/3)\n\n您是否确认修改这些数据?"
|
||
]
|
||
},
|
||
"unlock": {
|
||
"tab": {
|
||
"index": 4,
|
||
"label": "🔓解锁紫铺",
|
||
"description": "解锁所有 DX Master 谱面"
|
||
},
|
||
"endpoint": "/unlock",
|
||
"method": "GET",
|
||
"queryParams": ["userid"],
|
||
"fields": [
|
||
{
|
||
"id": "userid",
|
||
"label": "🪪UserID",
|
||
"type": "text",
|
||
"required": true
|
||
}
|
||
],
|
||
"confirmBeforeSubmit": true,
|
||
"confirmCount": 2,
|
||
"confirmMessages": [
|
||
"警告(1/2)\n\n这将永久修改ID={music.musicId}账号内的数据",
|
||
"警告(2/2)\n\n您是否确认修改这些数据?"
|
||
]
|
||
},
|
||
"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": 6,
|
||
"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,
|
||
"confirmCount": 3,
|
||
"confirmMessages": [
|
||
"警告(1/3)\n\n这将永久修改ID={music.musicId}账号内的数据",
|
||
"警告(2/3)\n\n即将修改的数据:\nUserID: {userId}\n歌曲ID: {music.musicId}\n分数: {music.achievement}\n难度: {music.level}\nFC状态: {music.comboStatus}\nFS状态:{music.syncStatus}\n\n原始请求:\n{rawData}",
|
||
"警告(3/3)\n\n您是否确认修改这些数据?"
|
||
]
|
||
}
|
||
}
|
||
}
|