钉钉通过IP方法控制webhook接入自定义服务
import time import hmac import hashlib import base64 import urllib.parse import requests import json timestamp = str(round(time.time() * 1000)) secret = 'this is secret' secret_enc = secret.encode('utf-8') string_to_sign = '{}\n{}'.format(timestamp, secret) string_to_sign_enc = string_to_sign.encod
用户评论