随笔分类 -  node

摘要:const axios = require('axios'); const options = async (ctx, next) => { console.log( ctx.request.body); if(ctx.request.body.url){ ctx.body = await getD 阅读全文
posted @ 2024-07-25 14:20 前端搬运工bug 阅读(12) 评论(0) 推荐(0) 编辑
摘要:代码如下: const request = require('request'); // 访问第三个接口 function getapi(data) { return new Promise((resolve, reject) => { request({ //解决node.js https模块在v 阅读全文
posted @ 2022-07-14 15:24 前端搬运工bug 阅读(74) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示