ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
利用memcached进行缓存验证码 ``` @bp.route('/sms_captcha/',methods=['POST']) def sms_captcha(): .... zlcache.set(telephone,captcha) .... return restful.params_error(message="参数错误") @bp.route('/captcha/') def graph_captcha(): .... zlcache.set(text.lower(),text.lower()) .... return resp ```