请求修改
This commit is contained in:
parent
8bbf5525d3
commit
5d27011848
|
|
@ -10,7 +10,7 @@ import { decryptWithSM4, encryptWithSM4, hashWithSM3AndSalt } from '@/utils/sm'
|
|||
import { generateRequestSignature } from '@/utils/crypto-js'
|
||||
|
||||
|
||||
const encryptRequestFlag = getConfig('encryptRequest',1)
|
||||
const encryptRequestFlag = getConfig('encryptRequest')
|
||||
const encryptResponseFlag = getConfig('encryptResponse')
|
||||
const checkIntegrityFlag = getConfig('checkIntegrity')
|
||||
const replayAttackFlag = getConfig('replayAttack')
|
||||
|
|
@ -27,7 +27,7 @@ const systemConfig = {
|
|||
},
|
||||
}
|
||||
|
||||
function getConfig(value,type) {
|
||||
function getConfig(value) {
|
||||
|
||||
let config = sessionStorage.getItem('systemConfig');
|
||||
if(config){
|
||||
|
|
|
|||
Loading…
Reference in New Issue