forked from Dniel97/artemis
chuni: add userRecentPlayerList check in upsertuserall
This commit is contained in:
parent
468c99c3c2
commit
fe25359e8e
@ -317,8 +317,7 @@ class ChuniBase:
|
|||||||
return {
|
return {
|
||||||
"userId": data["userId"],
|
"userId": data["userId"],
|
||||||
"length": 0,
|
"length": 0,
|
||||||
"nextIndex": -1,
|
"userRecentPlayerList": [], # playUserId, playUserName, playDate, friendPoint
|
||||||
"userRecentPlayerList": [],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def handle_get_user_course_api_request(self, data: Dict) -> Dict:
|
def handle_get_user_course_api_request(self, data: Dict) -> Dict:
|
||||||
@ -917,6 +916,10 @@ class ChuniBase:
|
|||||||
user_id, self.version, login["presetId"], isWatched=True
|
user_id, self.version, login["presetId"], isWatched=True
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if "userRecentPlayerList" in upsert: # TODO: Seen in Air, maybe implement sometime
|
||||||
|
for rp in upsert["userRecentPlayerList"]:
|
||||||
|
pass
|
||||||
|
|
||||||
return {"returnCode": "1"}
|
return {"returnCode": "1"}
|
||||||
|
|
||||||
def handle_upsert_user_chargelog_api_request(self, data: Dict) -> Dict:
|
def handle_upsert_user_chargelog_api_request(self, data: Dict) -> Dict:
|
||||||
|
Loading…
Reference in New Issue
Block a user