This commit is contained in:
社会易姐QwQ 2022-05-02 01:16:21 +08:00 committed by GitHub
parent bb437d2012
commit a07976d6ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ def appsign(params, appkey, appsec):
query = urllib.parse.urlencode(params) # 序列化参数
sign = hashlib.md5((query+appsec).encode()).hexdigest() # 计算 api 签名
params.update({'sign':sign})
return params
return params
appkey = '1d8b6e7d45233436'
appsec = '560c52ccd288fed045859ed18bffd973'