From ff3f2f56d2ef1b2332ade04b0e90b63e9f377f89 Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Tue, 30 Jul 2024 14:07:03 +0800
Subject: [PATCH] 路由配置修改,图标更换

---
 src/axios.js |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/axios.js b/src/axios.js
index 23bebb6..002d80c 100644
--- a/src/axios.js
+++ b/src/axios.js
@@ -67,16 +67,16 @@
         : 'bearer ' + token;
     }
     // 开启报文加密
-    if (cryptoData) {
-      if (config.params) {
-        const data = crypto.encryptAES(JSON.stringify(config.params), crypto.aesKey);
-        config.params = { data };
-      }
-      if (config.data) {
-        config.text = true;
-        config.data = crypto.encryptAES(JSON.stringify(config.data), crypto.aesKey);
-      }
-    }
+    // if (cryptoData) {
+    //   if (config.params) {
+    //     const data = crypto.encryptAES(JSON.stringify(config.params), crypto.aesKey);
+    //     config.params = { data };
+    //   }
+    //   if (config.data) {
+    //     config.text = true;
+    //     config.data = crypto.encryptAES(JSON.stringify(config.data), crypto.aesKey);
+    //   }
+    // }
     //headers中配置text请求
     if (config.text === true) {
       config.headers['Content-Type'] = 'text/plain';

--
Gitblit v1.9.3