From 91e232bb0b910f3670bdbccd65cc218d55e1eda9 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 06 十二月 2022 16:08:20 +0800
Subject: [PATCH] Merge branch 'develop'

---
 src/tabviews/zshare/actionList/funcMegvii/index.jsx |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/tabviews/zshare/actionList/funcMegvii/index.jsx b/src/tabviews/zshare/actionList/funcMegvii/index.jsx
index 7ff8bf6..2f8cdd5 100644
--- a/src/tabviews/zshare/actionList/funcMegvii/index.jsx
+++ b/src/tabviews/zshare/actionList/funcMegvii/index.jsx
@@ -7,7 +7,7 @@
 
 import NApi from '@/api'
 import Utils from '@/utils/utils.js'
-import Api from '@/api/w4k.js'
+import Api from '@/api/direct.js'
 import MKEmitter from '@/utils/events.js'
 import MkIcon from '@/components/mk-icon'
 
@@ -194,7 +194,7 @@
     // let ip = 'http://localhost:3001'
     let ip = selectIp.face_ip
 
-    Api.login(ip, selectIp.face_uname, selectIp.face_pwd).then(result => {
+    Api.w4kLogin(ip, selectIp.face_uname, selectIp.face_pwd).then(result => {
       if (result.errors) {
         this.execPreError(result)
         return
@@ -202,7 +202,7 @@
 
       document.cookie = 'sessionID=' + result.session_id
 
-      Api.queryUsers(ip).then(res => {
+      Api.w4kQueryUsers(ip).then(res => {
         if (res.errors) {
           this.execPreError(res)
           return
@@ -289,7 +289,7 @@
       data.id_number = CryptoJS.enc.Base64.stringify(encrypted.ciphertext)
     }
 
-    Api.addUsers(ip, data).then(res => {
+    Api.w4kAddUsers(ip, data).then(res => {
       if (res.errors) {
         this.execPreError(res, data)
         return

--
Gitblit v1.8.0