摘要: 1.安装插件 npm install egg-cors --save 2.congfig>plugin目录配置: exports.cors = { enable: true, package: 'egg-cors' } 3.config>plugindefault目录配置: config.secur 阅读全文
posted @ 2020-02-29 23:36 kgwei 阅读(1277) 评论(0) 推荐(0)