在某个网页中有这样一段代码
@captcha_app.route('/captcha') def captcha(): ... return send_from_directory(os.path.join('/home/web/static', 'captcha'),str(user['uid']), as_attachment=True)
但它屁用没有,访问xxx.com/captcha一样不显示图片/下载图片,而是404
萌新求助