Nodejs request-promise combining json api data from 2 links?
问题 const express = require('express'); const app = express(); const path = require('path'); const config = require('./config.json'); const moment = require('moment'); const request = require('request-promise'); url = 'https://ne.api.site', url2 = 'https://n2.api.site', app.set('view engine', 'pug'); app.use(express.static(path.join(__dirname, 'public'))); async function getApi(){ return request({ url : url, url2 : url2 }); } /* Routes */ app.get('/', async (req, res) => { let api = await getApi(