revert: fix: 修复引入账号池后导致的bug

This commit is contained in:
helloplhm-qwq
2024-01-05 19:23:19 +08:00
parent 1690c9600c
commit 20696eaa9d
2 changed files with 3 additions and 3 deletions

View File

@ -57,5 +57,5 @@ async def signRequest(url, params, options, signkey = tools["signkey"]):
url = url + "?" + buildRequestParams(params)
return await Httpx.AsyncRequest(url, options)
def getKey(hash_):
return utils.createMD5(hash_.lower() + tools.pidversec + tools.appid + tools.mid + tools.userid)
def getKey(hash_, user_info):
return utils.createMD5(hash_.lower() + tools.pidversec + tools.appid + user_info['mid'] + user_info['userid'])