From ed719ec5d86d3373ee95df8262eba3f456f94d60 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 12 六月 2024 17:28:09 +0800 Subject: [PATCH] 2024-06-12 --- src/tabviews/zshare/topSearch/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tabviews/zshare/topSearch/index.jsx b/src/tabviews/zshare/topSearch/index.jsx index 47f13bc..4929607 100644 --- a/src/tabviews/zshare/topSearch/index.jsx +++ b/src/tabviews/zshare/topSearch/index.jsx @@ -215,7 +215,7 @@ }) } else { // 鍚堝苟璇锋眰锛屽尯鍒嗘湰鍦板強绯荤粺 _sql = _sql.replace(/%/ig, ' mpercent ') - if (item.database === 'sso') { + if (item.database === 'sso' && (window.GLOB.mkHS || window.GLOB.systemType === 'production')) { if (mainItems.length === 0) { _sql = _declare + _sql } @@ -558,7 +558,7 @@ param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') param.secretkey = Utils.encrypt(window.GLOB.execType === 'x' ? '' : param.LText, param.timestamp) - if (item.database === 'sso' && window.GLOB.mainSystemApi) { + if (item.database === 'sso' && window.GLOB.mainSystemApi && (window.GLOB.mkHS || window.GLOB.systemType === 'production')) { param.rduri = window.GLOB.mainSystemApi } -- Gitblit v1.8.0