修改加解密数据

This commit is contained in:
haozq 2025-01-22 14:38:45 +08:00
parent 97f189f4ab
commit bb69a45b85
4 changed files with 8 additions and 4 deletions

View File

@ -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);

View File

@ -89,7 +89,7 @@ body {
}
.alarmDialog::before {
content: "大大的水印";
content: "";
position: fixed;
top: 0;
left: 0;

View File

@ -264,7 +264,7 @@ th {
} */
#divDialog::before {
content: "大大的水印";
content: "";
position: fixed;
top: 0;
left: 0;

View File

@ -19,7 +19,7 @@ body {
.layout::before {
content: "大大的水印";
content: "";
position: fixed;
top: 0;
left: 0;