Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
feat(client): add auth_analytics for kingdom_task_speedup
Browse files Browse the repository at this point in the history
Signed-off-by: hldh214 <[email protected]>
  • Loading branch information
hldh214 committed Jul 18, 2023
1 parent 172879a commit fa0a56e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lokbot/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,11 @@ def kingdom_task_speedup(self, task_id, code, amount, is_buy=0):
加速任务
:return:
"""
return self.post('kingdom/task/speedup', {'taskId': task_id, 'code': code, 'amount': amount, 'isBuy': is_buy})
res = self.post('kingdom/task/speedup', {'taskId': task_id, 'code': code, 'amount': amount, 'isBuy': is_buy})

self.auth_analytics('item/use', f'{code}|{amount}')

return res

def kingdom_tutorial_finish(self, code):
"""
Expand Down

0 comments on commit fa0a56e

Please sign in to comment.