第一步: 在根目录下创建一个utils文件夹,在里面创建一个http.js function http({ url,method="get",data=""}){ wx.showLoading({ title: '拼命加载中...', }) return new Promise((