From 489ffbe3ea9202ca0deadbca6948c14ba9836096 Mon Sep 17 00:00:00 2001 From: wangyx <2838268875@qq.com> Date: Mon, 25 Aug 2025 13:45:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/http.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/http.js b/common/http.js index 87822b4..36f63ba 100644 --- a/common/http.js +++ b/common/http.js @@ -1,4 +1,4 @@ -const baseUrl = 'http://219.146.91.110:30801/mz-api'; +const baseUrl = "https://zsbz.qdcfy.com/mz-api"; export const request = (options) => { return new Promise((resolve, reject) => { uni.request({ @@ -7,7 +7,7 @@ export const request = (options) => { data: options.data || {}, // 请求参数 header: { 'Content-Type': 'application/json', - Authorization: uni.getStorageSync('token') || '', // 携带 Token + Authorization: 'Bearer ' + uni.getStorageSync('token') || '', // 携带 Token }, success: (res) => { if (res.statusCode === 200) {