module.exports = async function cloudApi($url, data) { return await wx.cloud.callFunction({ name: "api", data: { $url, ...data } }) }