Egg 第一章 : 配置POST请求 csrf 安全协议 /* 修改端口号 */ cluster:{ listen: { path: '', port: 8080, hostname: '0.0.0.0', } }, /* 关闭 csrf 攻击*/ security:{ csrf:{ enable:false } }