Update CHERWIN_TOOLS.py

This commit is contained in:
CHERWING 2024-05-26 10:04:43 +08:00 committed by GitHub
parent 3fc0138f32
commit c3b612b858
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,7 @@ import requests
from http import HTTPStatus from http import HTTPStatus
from datetime import datetime from datetime import datetime
NOW_TOOLS_VERSION = '2024.05.23' NOW_TOOLS_VERSION = '2024.05.26'
if os.path.isfile('DEV_ENV.py'): if os.path.isfile('DEV_ENV.py'):
import DEV_ENV import DEV_ENV
IS_DEV = True IS_DEV = True
@ -433,8 +433,9 @@ def YDXQ_SIGN():
sign_hash = hashlib.md5(sign_string.encode()).hexdigest() sign_hash = hashlib.md5(sign_string.encode()).hexdigest()
return sign_hash, n return sign_hash, n
def HXEK_SIGN(memberId): def HXEK_SIGN(memberId,appid):
appid = "wxa1f1fa3785a47c7d"
# appid = "wxa1f1fa3785a47c7d"
secret = 'damogic8888' secret = 'damogic8888'
# 获取GMT+8的当前时间戳 # 获取GMT+8的当前时间戳
timestamp = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) timestamp = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())