会员
周边
捐助
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
目之所及,行之所至
博客园
首页
新随笔
联系
管理
2020年1月7日
express+cors模拟解决跨域
摘要: 模拟写的node服务器请求 const express = require('express') const app = express() app.get('/api/getname', (req, res) => { res.send({ name: '黎明', age: 18 }) }) ap
阅读全文
posted @ 2020-01-07 16:18 潇湘羽西
阅读(5302)
评论(0)
推荐(0)
编辑
公告