2021
07-08
07-08
Python 京东云无线宝消息推送功能
配置文件注释里面有写,懒得用配置文件了代码#京东云无线路由宝推送importrequestsimportjsonimporttimeimporthmacimporthashlibimportbase64importurllib.parsefromdatetimeimportdatetime#发送钉钉消息defsendinfo_ding(token,secret,data):dic=get_timestamp_and_sign_by_secret(secret)timestamp=dic['timestamp']sign=dic['sign']url='https://oapi.dingtalk.com/robot/send?access_token...
继续阅读 >