webapp实战中没有dev-server.js以下这段代码应该放置在哪呢?apiRoutes.get('/getDisList', function (req, res){ var url = 'https://c.y.qq.com/splcloud/fcgi-bin/fcg_get_diss_by_tag.fcg' axios.get(url, { headers:{ refer: 'https://c.y.qq.com/', host: 'c.y.qq.com' }, params: req.query }).then((response) => { res.json(response.data) }).catch((e) => { console.log(e) })
添加回答
举报
0/150
提交
取消