text: // 云函数入口文件
  const axios = require('axios')
  
  async function getdata(url) {
    try {
      var res = await axios.get(url)
      return res.data.data
    } catch (err) {
      console.log(err)
      return err
    }
    
  }
  
  // 云函数入口函数
  exports.main = async (event, context) => {
    return getdata(event.url)
  }