2020年4月24日
摘要: 读取配置文件连接mysql并查询 示例代码: SqlMonitoring.py import json import requests import mysql.connector import datetime from configparser import ConfigParser impor 阅读全文
posted @ 2020-04-24 18:25 北溟有鱼。 阅读(285) 评论(0) 推荐(0) 编辑
摘要: def sendmessage(url, msg, at_list=[]): """ 给钉钉发消息 """ HEADERS = { "Content-Type": "application/json ;charset=utf-8 " } # String_textMsg = { # "msgtype 阅读全文
posted @ 2020-04-24 18:19 北溟有鱼。 阅读(319) 评论(0) 推荐(0) 编辑