摘要:
import subprocess as sb import requests if __name__ == '__main__': #获取服务器的出口ip ip = sb.getoutput('curl ifconfig.me').split('\n')[-1] #调用芝麻添加白名单的链接,添加即可 response = requests.get('curl ... 阅读全文
摘要:
current_time = (datetime.datetime.now() + datetime.timedelta(hours=8)).strftime('%Y-%m-%d %H:%M:%S') 阅读全文