From 22311df62355e82ce4ad9840d6ceb15fbd2f1588 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 18 Mar 2024 13:09:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=B4=A2=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/components/search/index.vue | 115 +-- src/components/verifition/Verify.vue | 469 ------------- src/components/verifition/utils/ase.js | 14 - src/components/verifition/utils/request.js | 17 - .../verifition/verifyPoint/verifyPoint.vue | 555 --------------- .../verifition/verifySlider/verifySlider.vue | 661 ------------------ 7 files changed, 70 insertions(+), 1763 deletions(-) delete mode 100644 src/components/verifition/Verify.vue delete mode 100644 src/components/verifition/utils/ase.js delete mode 100644 src/components/verifition/utils/request.js delete mode 100644 src/components/verifition/verifyPoint/verifyPoint.vue delete mode 100644 src/components/verifition/verifySlider/verifySlider.vue diff --git a/.env.development b/.env.development index 7dc61fc..1244d0b 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ -VITE_BASE_URL=http://192.168.0.106:12080/admin-api +VITE_BASE_URL=http://localhost:12080/admin-api VITE_BASE_URL_IMAGE=http://localhost:12080/admin-api \ No newline at end of file diff --git a/src/components/search/index.vue b/src/components/search/index.vue index c9239e9..309ff32 100644 --- a/src/components/search/index.vue +++ b/src/components/search/index.vue @@ -1,19 +1,11 @@ - \ No newline at end of file diff --git a/src/components/verifition/Verify.vue b/src/components/verifition/Verify.vue deleted file mode 100644 index 3fe4d88..0000000 --- a/src/components/verifition/Verify.vue +++ /dev/null @@ -1,469 +0,0 @@ - - - diff --git a/src/components/verifition/utils/ase.js b/src/components/verifition/utils/ase.js deleted file mode 100644 index 1fdceed..0000000 --- a/src/components/verifition/utils/ase.js +++ /dev/null @@ -1,14 +0,0 @@ -import CryptoJS from 'crypto-js' -/** - * @word 要加密的内容 - * @keyWord String 服务器随机返回的关键字 - * */ -export function aesEncrypt(word, keyWord = "XwKsGlMcdPMEhR1B") { - var key = CryptoJS.enc.Utf8.parse(keyWord); - var srcs = CryptoJS.enc.Utf8.parse(word); - var encrypted = CryptoJS.AES.encrypt(srcs, key, { - mode: CryptoJS.mode.ECB, - padding: CryptoJS.pad.Pkcs7 - }); - return encrypted.toString(); -} diff --git a/src/components/verifition/utils/request.js b/src/components/verifition/utils/request.js deleted file mode 100644 index e6a31b0..0000000 --- a/src/components/verifition/utils/request.js +++ /dev/null @@ -1,17 +0,0 @@ -import config from '@/config' -const baseUrl = config.baseUrl -export const myRequest = (option = {}) => { - return new Promise((reslove, reject) => { - uni.request({ - url: baseUrl + option.url, - data: option.data, - method: option.method || "GET", - success: (result) => { - reslove(result) - }, - fail: (error) => { - reject(error) - } - }) - }) -} diff --git a/src/components/verifition/verifyPoint/verifyPoint.vue b/src/components/verifition/verifyPoint/verifyPoint.vue deleted file mode 100644 index 923cc62..0000000 --- a/src/components/verifition/verifyPoint/verifyPoint.vue +++ /dev/null @@ -1,555 +0,0 @@ - - - - diff --git a/src/components/verifition/verifySlider/verifySlider.vue b/src/components/verifition/verifySlider/verifySlider.vue deleted file mode 100644 index 7c75e0e..0000000 --- a/src/components/verifition/verifySlider/verifySlider.vue +++ /dev/null @@ -1,661 +0,0 @@ - - -