摘要: @app.route('/getpic')def getpic(): name, text,image=captcha.generate_captcha() res = make_response(image) res.content_type='image/png' return res除了这些在 阅读全文
posted @ 2022-01-27 18:02 曹宝福 阅读(151) 评论(0) 推荐(0)
摘要: import redisclass Redis: def __init__(self): self.conn = redis.Redis(host='localhost', port=6379) # 存 def set_str(self, mobile, codes, time=0): if tim 阅读全文
posted @ 2022-01-27 17:59 曹宝福 阅读(279) 评论(0) 推荐(0)