Update to v2.8.2 without release

- Try to add support for Anniversary 5 ticket
- Update the song database

> Well, there may be bugs with Anniversary 5 ticket. Remember it can only be used when the pack is on sale.
This commit is contained in:
Lost-MSth
2022-03-09 18:44:00 +08:00
parent 5de274fdf5
commit 3a1c731e24
13 changed files with 81 additions and 27 deletions

View File

@@ -208,7 +208,7 @@ def get_user_me_c(user_id):
def get_purchase_pack(user_id):
# 返回曲包数据
with Connect() as c:
return server.arcpurchase.get_purchase(c, 'pack')
return server.arcpurchase.get_purchase(c, user_id)
def get_game_info():
@@ -261,7 +261,7 @@ def arc_aggregate_big(user_id):
"value": get_user_me(c, user_id)
}, {
"id": 1,
"value": server.arcpurchase.get_purchase(c, 'pack')
"value": server.arcpurchase.get_purchase(c, user_id)
}, {
"id": 2,
"value": id_2