lifanagju_citu 6 ماه پیش
والد
کامیت
8e5e465482
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      utils/request.js

+ 2 - 2
utils/request.js

@@ -10,7 +10,7 @@ import { baseUrl, tenantId, apiPath } from './config'
 import { showAuthModal } from '@/hooks/useModal'
 import { rewardEventTrackClick } from '@/api/integral'
 import { getSuffixAfterPrefix } from '@/utils/prefixUrl'
-import { encryptionFun } from '@/utils/openEncryption'
+// import { encryptionFun } from '@/utils/openEncryption'
 
 import qs from 'qs'
 
@@ -116,7 +116,7 @@ http.interceptors.request.use(
 		}
 
     // 开启参数加密
-    if (config.custom?.openEncryption) encryptionFun(config)
+    // if (config.custom?.openEncryption) encryptionFun(config)
 
     // 增加 token 令牌、terminal 终端、tenant 租户的请求头
 		const token = getAccessToken();