From 32742835edb4e2a41f80daa255536d570f8cd72d Mon Sep 17 00:00:00 2001 From: admin <> Date: Wed, 7 Aug 2024 14:05:58 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/http.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/http.ts b/src/utils/http.ts index 10b80a8..e3aabc5 100644 --- a/src/utils/http.ts +++ b/src/utils/http.ts @@ -17,7 +17,7 @@ const obj = { invoke(options: UniApp.RequestOptions) { // 超时时间 options.timeout = 10000; - options.url = baseUrl + '/test/sh0001' + options.url; + options.url = baseUrl + '/prod/sh0001' + options.url; // 请求头标识 // 1.小程序唯一标识 // 'source-client': 'miniapp' @@ -31,7 +31,7 @@ const obj = { } if (options.url.indexOf("/api/db/getCommonDbPhone") === -1) { options.header["mechanismCode"] = store.mechanism.mechanismCode; - options.header["mechanismName"] = store.mechanism.mechanismName; + // options.header["mechanismName"] = store.mechanism.mechanismName; } }, };