打赏

JS,对部分值base64解码

var a=[{

"key": "ColumnSettingHistoryData.Client/DbConn",
"flags": 0,
"value": "c2VydmVyPTEwLjEuMTEuMTI2O3BvcnQ9MzMwNjtkYXRhYmFzZT1kZ2N1c2VyZGI7dWlkPW1hbmFnZXI7cGFzc3dvcmQ9QXNkZjEyMzQ7Y2hhcmFjdGVyIHNldD11dGY4bWI0Ow=="
},
{
"key": "EngineOn.Service/hasBuildExp",
"flags": 0,
"value": "NQ=="
}]

 

var b=a.map((x)=>{

var xx="";
try{
xx=window.atob(x.value)}
catch(e){
xx=""
}
return {"key":x.key,"value":xx}
})

posted @ 2021-09-15 17:39  刘奇云  阅读(38)  评论(0编辑  收藏  举报