代码如下
// 云函数入口文件
const cloud = require('wx-server-sdk')
const axios = require('axios')
cloud.init()
const URL = 'http://musicapi.xiecheng.live/personalized'
exports.main = async (event, context) => {
const r = await axios.get(URL)
console.log('r', r)
}
错误提示如下: