安装设置表单没有保护措施,容易受到csrf 攻击使用wtf 加上强token 安装pip install flask-wtf 设置flask根目录新建config.py 配置文件 ,开启csrf 保护config.py