From d3f0ff6001c34c9ac37e9e776f090f5a696a1361 Mon Sep 17 00:00:00 2001 From: jazz <jazzxhunter@163.com> Date: 星期三, 13 十二月 2023 15:08:23 +0800 Subject: [PATCH] Merge branch 'xio_dev' --- src/config/index.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/config/index.js b/src/config/index.js index 613e9f2..fc1fa3c 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -13,7 +13,7 @@ var debug = isConsole var isWxLoginType = 0 // 寰俊鐧诲綍 0鏃� 1闈欓粯寰俊鐧诲綍snsapi_base 2鎵嬪姩寰俊鐧诲綍snsapi_userinfo var isTestView = 1 - +var is_use_test_server = 0 // 鏄惁閮ㄧ讲鍦ㄦ祴璇曟湇鍔″櫒 var localOnline = istest ? 0 : 1 // 鏈湴杩炵嚎涓� // 鎵撳寘鍚庣殑鐜 @@ -22,6 +22,10 @@ ismock = 0 isTestView = 0 localOnline = 0 + if (is_use_test_server) { + isTestView = 1 + } + } const pdomain = '/' // 绾夸笂 -- Gitblit v1.8.0