From bdfec44c9f3a37dbbe05bf14a252ffec04132a86 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 06 九月 2022 21:24:28 +0800
Subject: [PATCH] Merge branch 'develop'

---
 src/views/design/header/versions/index.jsx |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/design/header/versions/index.jsx b/src/views/design/header/versions/index.jsx
index b2883da..806b3ac 100644
--- a/src/views/design/header/versions/index.jsx
+++ b/src/views/design/header/versions/index.jsx
@@ -116,7 +116,7 @@
       res.func = 's_sVersion_Local_add'
       res.VersionName = version.id
 
-      Api.getLocalConfig(res).then(result => {
+      Api.genericInterface(res).then(result => {
         if (!result.status) {
           notification.warning({
             top: 92,
@@ -151,7 +151,7 @@
         param.secretkey = Utils.encrypt(param.LText, param.timestamp)
         param.DateCount = ''
 
-        Api.getLocalConfig(param).then(response => {
+        Api.genericInterface(param).then(response => {
           if (!response.status) {
             notification.warning({
               top: 92,
@@ -232,7 +232,7 @@
   }
 
   execSso = (ssoParam, scripts) => {
-    Api.getLocalConfig(ssoParam).then(res => {
+    Api.genericInterface(ssoParam).then(res => {
       if (!res.status) {
         notification.warning({
           top: 92,
@@ -260,7 +260,7 @@
   }
 
   execLocal = (localParam, ssoParam, scripts) => {
-    Api.getLocalConfig(localParam).then(res => {
+    Api.genericInterface(localParam).then(res => {
       if (!res.status) {
         notification.warning({
           top: 92,
@@ -327,7 +327,7 @@
     param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss')
     param.secretkey = Utils.encrypt('', param.timestamp)
 
-    Api.getLocalConfig(param).then(response => {
+    Api.genericInterface(param).then(response => {
       if (!response.status) {
         notification.warning({
           top: 92,

--
Gitblit v1.8.0