mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-09 19:06:49 +08:00
修正
This commit is contained in:
@@ -3,7 +3,13 @@ import { sm2 } from 'sm-crypto'
|
||||
import { getPrivateKeyHex, getPublicKeyHex } from '@/api/safety'
|
||||
|
||||
// 不加密的URL列表
|
||||
const ENCRYPT_EXCLUDE_URLS = ['/bpic/ta/*', '/keyPair/*']
|
||||
const ENCRYPT_EXCLUDE_URLS = [
|
||||
'/bpic/ta/*',
|
||||
'/keyPair/*',
|
||||
'/riskCheckRecordEx/queryDetail',
|
||||
'/riskCheckRecordEx/queryResult',
|
||||
'/riskCheckRecordEx/saveOpinion'
|
||||
]
|
||||
|
||||
// 将ENCRYPT_EXCLUDE_URLS通配符模式转换为正则表达式
|
||||
const excludePatterns = ENCRYPT_EXCLUDE_URLS.map(pattern => {
|
||||
|
||||
Reference in New Issue
Block a user