Browse Source

取消解密

jwyu 3 years ago
parent
commit
14f2962937
1 changed files with 2 additions and 2 deletions
  1. 2 2
      utils/request.js

+ 2 - 2
utils/request.js

@@ -91,8 +91,8 @@ const http=(url,params,method)=>{
 				Authorization:store.state.user.token,
 			},
 			success(e) {
-				let res=JSON.parse(CryptoJS.Des3Decrypt(e.data));//解密
-				// let res=e.data
+				// let res=JSON.parse(CryptoJS.Des3Decrypt(e.data));//解密
+				let res=e.data
 				if(res.code!==200&&res.code!==403&&res.code!==4001&&res.code!==401){
 					showError(res)
 				}