From 8e8f505f37ecc4e6945e7d0d6e9883e4e9352437 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 10 十一月 2022 23:59:47 +0800
Subject: [PATCH] 2022-11-10

---
 src/tabviews/zshare/actionList/normalbutton/index.jsx |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx
index f95e1ef..3e58939 100644
--- a/src/tabviews/zshare/actionList/normalbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -1632,9 +1632,17 @@
         result.open_key = Utils.encryptOpenKey(result.secretkey, result.timestamp)
       }
     } else {
-      if (btn.sysInterface === 'true' && window.GLOB.mainSystemApi) {
-        result.rduri = window.GLOB.mainSystemApi
-      } else if (btn.sysInterface !== 'true') {
+      if (btn.sysInterface === 'true') {
+        if (window.GLOB.mainSystemApi) {
+          result.rduri = window.GLOB.mainSystemApi
+        }
+      } else if (btn.sysInterface === 'external') {
+        if (window.GLOB.systemType === 'production') {
+          result.$token = btn.exProInterface || ''
+        } else {
+          result.$token = btn.exInterface || ''
+        }
+      } else {
         if (window.GLOB.systemType === 'production' && btn.proInterface) {
           result.rduri = btn.proInterface
         } else {

--
Gitblit v1.8.0