src/utils/request.ts
@@ -22,12 +22,12 @@ config.url = url } // 记录请求参数 // console.log('请求发送参数:', { // url: (config.baseUrl || baseUrl) + config.url, // method: config.method || 'GET', // headers: config.header, // data: config.data // }) console.log('请求发送参数:', { url: (config.baseUrl || baseUrl) + config.url, method: config.method || 'GET', headers: config.header, data: config.data }) return new Promise((resolve, reject) => { uni.request({ method: config.method || 'GET',