mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-06 09:26:48 +08:00
解决获取角色菜单报错问题
This commit is contained in:
@@ -129,9 +129,9 @@ export function decryptWithPrivateKey(cipherHex) {
|
||||
if (cleanCipher.startsWith('04')) {
|
||||
// 判断是否是人为添加的 04(标准 C1C3C2 密文长度约 512~520,加 04 后变 514+)
|
||||
const expectedMinLen = 512
|
||||
if (cleanCipher.length > expectedMinLen) {
|
||||
cleanCipher = cleanCipher.substring(2)
|
||||
}
|
||||
// if (cleanCipher.length > expectedMinLen) {
|
||||
cleanCipher = cleanCipher.substring(2)
|
||||
// }
|
||||
}
|
||||
|
||||
// 执行解密
|
||||
|
||||
Reference in New Issue
Block a user