以下空白处应该填写什么?const axios = require('axios');
const apiUrl = 'http://v.juhe.cn/weather/index';
const requestParams = {
key: '657657',
cityname: '呼和浩特',
};
axios.get(apiUrl, { params: requestParams })
.________________(response => {
if (response.status === 200) {
const responseResult = response.data;
res.json(responseResult);
} else {
res.status(500).json({ error: '请求异常' });
}
})
._______________(error => {
res.status(500).json({ error: '网络请求失败' });
});