✏️ 验证非空ID

This commit is contained in:
目棃
2024-11-20 19:39:22 +08:00
parent a90779f992
commit 3fd33176a4
3 changed files with 11 additions and 4 deletions

View File

@@ -114,7 +114,10 @@
"id": {
"type": "string",
"description": "记录内部 ID米哈游 API 返回"
}
},
"maxLength": 19,
"minLength": 1,
"pattern": "^[0-9]+$"
},
"required": ["uigf_gacha_type", "gacha_type", "item_id", "time", "id"]
}