// GET请求
const get = (url, callback) => {
/* uni.showLoading({
title: '加载中'
}); */
uni.request({
url: url,
header: {
'Accept': 'application/json',
'Content-Type
uniapp 对get,post请求进行封装并使用
于 2023-10-31 12:40:16 首次发布