add shop stock/friend bonus handlers

This commit is contained in:
ppc
2024-09-16 09:54:39 +00:00
parent 01dad267b9
commit b01ac24799

View File

@ -22,15 +22,28 @@ class Mai2BuddiesPlus(Mai2Buddies):
return {
"gameWeeklyData": {
"missionCategory": 0,
"updateDate": "2024-03-21 09:00:00.0",
"beforeDate": "2099-12-31 00:00:00.0"
"updateDate": "2024-03-21 09:00:00",
"beforeDate": "2099-12-31 00:00:00"
}
}
async def handle_create_token_api_request(self, data: Dict) -> Dict:
return {
"Bearer": "ARTEMiSTOKEN" # duplicate of handle_user_login_api_request from Mai2Festival
}
async def handle_remove_token_api_request(self, data: Dict) -> Dict:
return {}
async def handle_get_user_friend_bonus_api_request(self, data: Dict) -> Dict:
return {
"userId": data["userId"],
"returnCode": 1,
"getMiles": 0
}
async def handle_get_user_shop_stock_api_request(self, data: Dict) -> Dict:
return {
"userId": data["userId"],
"userShopStockList": []
}