maquitous/.settings.py
7a1dd609-d238-4580-9d5f-ee8412b0f5bc efc874ab9f add random music data
2025-01-19 08:45:58 +08:00

26 lines
566 B
Python

import random
with open('music.json') as file:
music = json.load(file)
music_data = ({
"musicId": music[random.randint(0, 500)],
"level": random.randint(0, 3),
"playCount": random.randint(10, 20),
"achievement": random.randint(995000, 1000000),
"comboStatus": random.randint(0, 2),
"syncStatus": 0,
"deluxscoreMax": random.randint(1300, 1500),
"scoreRank": 11,
"extNum1": 0
})
# 机厅信息
regionId = 1
regionName = "北京"
placeId = 1403
placeName = "插电师电玩北京西单大悦城店"
clientId = "A63E01C2805"