修改加解密数据
This commit is contained in:
parent
97f189f4ab
commit
bb69a45b85
|
|
@ -1,4 +1,4 @@
|
|||
let aqEnnable = true // 参数加密开关
|
||||
let aqEnnable = false // 参数加密开关
|
||||
//后端路径
|
||||
// const commonUrl = "http://36.33.26.201:19090/zhgd/";
|
||||
//前端路径
|
||||
|
|
@ -20,6 +20,10 @@ let sm4=new SM4Util();
|
|||
|
||||
// 修改响应数据的函数
|
||||
function modifyResponseData(responseData) {
|
||||
if(typeof(responseData.decrypt)=="undefined" ){
|
||||
return responseData;
|
||||
}
|
||||
|
||||
// 在这里对响应数据进行修改
|
||||
if(responseData.decrypt){
|
||||
responseData=sm4.decryptDefault_CBC(responseData.data);
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ body {
|
|||
}
|
||||
|
||||
.alarmDialog::before {
|
||||
content: "大大的水印";
|
||||
content: "";
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
|
|
|||
|
|
@ -264,7 +264,7 @@ th {
|
|||
} */
|
||||
|
||||
#divDialog::before {
|
||||
content: "大大的水印";
|
||||
content: "";
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ body {
|
|||
|
||||
|
||||
.layout::before {
|
||||
content: "大大的水印";
|
||||
content: "";
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue