请求修改

This commit is contained in:
cwchen 2025-09-29 13:28:20 +08:00
parent 8bbf5525d3
commit 5d27011848
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import { decryptWithSM4, encryptWithSM4, hashWithSM3AndSalt } from '@/utils/sm'
import { generateRequestSignature } from '@/utils/crypto-js' import { generateRequestSignature } from '@/utils/crypto-js'
const encryptRequestFlag = getConfig('encryptRequest',1) const encryptRequestFlag = getConfig('encryptRequest')
const encryptResponseFlag = getConfig('encryptResponse') const encryptResponseFlag = getConfig('encryptResponse')
const checkIntegrityFlag = getConfig('checkIntegrity') const checkIntegrityFlag = getConfig('checkIntegrity')
const replayAttackFlag = getConfig('replayAttack') const replayAttackFlag = getConfig('replayAttack')
@ -27,7 +27,7 @@ const systemConfig = {
}, },
} }
function getConfig(value,type) { function getConfig(value) {
let config = sessionStorage.getItem('systemConfig'); let config = sessionStorage.getItem('systemConfig');
if(config){ if(config){