随笔分类 - Egg
Egg 第一章 : 配置POST请求 csrf 安全协议
摘要:/* 修改端口号 */ cluster:{ listen: { path: '', port: 8080, hostname: '0.0.0.0', } }, /* 关闭 csrf 攻击*/ security:{ csrf:{ enable:false } }
阅读全文
Egg 第二章: Restful接口编写
摘要:配置路由 配置 Restful 风格 使用POSTMAN测试接口 增 删 改 查
阅读全文