加密开启
- \Config\AppAuth{ownerId}\app_security.Development.json
- 返回结果:如果dataCrypto存在值,前端需要解密,并把解密后值赋予data
{
// 传递结果加密 start 如果 resultSecurityKey 有值加密,8位
"transmission": {
"securityKey": ""
}
}
输出加密
{
"cacheDate": "2022-04-23T00:11:32",
"cacheDateTimestamp": 1650643892751,
"code": "0",
"retCode": "0",
"success": true,
"dataCrypto": "Uu+iVPVbt6WLwFU/xPJWa5F07kV2wE/htlWm1pmkrQ0DZWvV2KtkVC0aC3Mwhc7hv3AlmjFLM/ThZIqoFsKQU3hC5nSvn43ir0MyM8iXHUyW/3vHppKiC8rr0eW3a/+tvFMmWX9Yf9Zd3St/tz5pybmQvpm798gxlMN12zOA545f0Xazu43/GUocV9wTYx0XbLAj9grdGGcTbh+cfQ9xHEP3t+SZ12a4gKdQ/U+FgDSOZHAtBqJ5uStR29nb512mdO0sfjZK1lwTbh+cfQ9xHCmg7vmujWZmDAdAF16e/I1D97fkmddmuNhgdyvBIYaknGrWVseH2l8ZLHCaLYtNY60BntADdXJoFeK6gzt8aHXne4Vd+CCHPD51abJs2xaTKyj1YM51GZ7Br9QbEd84ZJgOu9l3NMsPK1Hb2dvnXaZ07Sx+NkrWXEG0FcJ5Oewtg1KnJt87+6s=",
"remark": "Data encryption, if 【dataCrypto/data_crypto】 exists, please assign the decrypted value of 【dataCrypto/data_crypto】 to 【data】, and then remove 【dataCrypto/data_crypto】"
}
输出不加密
{
"data": {
"sysId": [
{
"id": "bt-20200601-main",
"name": "保他",
"value": "bt-20200601-main"
},
{
"id": "default-dev",
"name": "开发平台",
"value": "default-dev"
},
{
"id": "bt-portal",
"name": "保它门户系统",
"value": "bt-portal"
},
{
"id": "bt-app",
"name": "保他App",
"value": "bt-app"
},
{
"id": "bt-backstage",
"name": "保他后台管理系统",
"value": "bt-backstage"
}
]
},
"cacheDate": "2022-04-23T00:17:23",
"cacheDateTimestamp": 1650644243020,
"code": "0",
"retCode": "0",
"success": true
}
文档更新时间: 2022-04-23 00:18 作者:admin