diff --git a/Utils/webhook_handler.py b/Utils/webhook_handler.py index f2fa96ba1c9175c1b89e302193e1b531d8594151..4d8e97f218a1e76036dce1daa3df8b8f800916d1 100644 --- a/Utils/webhook_handler.py +++ b/Utils/webhook_handler.py @@ -8,8 +8,8 @@ import urllib.parse timestamp = str(round(time.time() * 1000)) -# secret = 'SEC7c41f8b0298b348ed538883c49068185b75c510d64dcb988fc570cb7614f07ff' #正式的webhook -secret = 'SEC9d91939234e83369cba32c0ca4bcd9af60b5b1f69424d6fabd36f48d572a151c' #测试用的webhook +secret = 'SEC7c41f8b0298b348ed538883c49068185b75c510d64dcb988fc570cb7614f07ff' #正式的webhook +# secret = 'SEC9d91939234e83369cba32c0ca4bcd9af60b5b1f69424d6fabd36f48d572a151c' #测试用的webhook secret_enc = secret.encode('utf-8') string_to_sign = '{}\n{}'.format(timestamp, secret) string_to_sign_enc = string_to_sign.encode('utf-8')