From 5163f4194a2ca44308f8135158d934f0b994060b Mon Sep 17 00:00:00 2001 From: zpc Date: Wed, 16 Apr 2025 20:45:45 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/env.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/env.js b/common/env.js index 8a7e24a..5e6811b 100644 --- a/common/env.js +++ b/common/env.js @@ -45,8 +45,8 @@ if (process.env.NODE_ENV === 'production') { // #endif // #ifdef MP-WEIXIN -// currentEnv =testing;//小程序默认使用测试环境配置 -currentEnv = production; // 小程序默认使用生产环境配置 +currentEnv =testing;//小程序默认使用测试环境配置 +// currentEnv = production; // 小程序默认使用生产环境配置 // #endif // 衍生配置 From 5c426da5c8f9388b3d0ad7afb7b7cab329ded3e6 Mon Sep 17 00:00:00 2001 From: zpc Date: Wed, 16 Apr 2025 20:52:58 +0800 Subject: [PATCH 2/2] 11 --- common/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/request.js b/common/request.js index 87ad740..63a7bc3 100644 --- a/common/request.js +++ b/common/request.js @@ -43,7 +43,7 @@ class RequestManager { return new Promise((resolve, reject) => { // 参数检查 if (!param || typeof param !== 'object') { - reject(new Error('请求参数错误')) + reject(new Error('请求参数错误11')) return }