بدون توضیح

lrf a74f69a97e 数据加密处理 1 سال پیش
certs a74f69a97e 数据加密处理 1 سال پیش
src a74f69a97e 数据加密处理 1 سال پیش
test 4c34a4544c update 1 سال پیش
.editorconfig 4c34a4544c update 1 سال پیش
.eslintrc.json 4c34a4544c update 1 سال پیش
.gitignore 4c34a4544c update 1 سال پیش
.prettierrc.js 4c34a4544c update 1 سال پیش
README.md 7a089e793f update 1 سال پیش
README.zh-CN.md 4c34a4544c update 1 سال پیش
bootstrap.js 4c34a4544c update 1 سال پیش
jest.config.js 4c34a4544c update 1 سال پیش
package-lock.json a74f69a97e 数据加密处理 1 سال پیش
package.json a74f69a97e 数据加密处理 1 سال پیش
tsconfig.json 4c34a4544c update 1 سال پیش

README.md

未完成:

  • 1.代理请求
  • [ ] 2.检查白名单

    • [X] 3.单点登录管理
    • 4.接口鉴权
  • [ ] x.对数据进行解密

    • 2.1 前端生成 加密字符串 并加密 post 请求下的数据, 将加密串带在token中: ${str}:${token}
    • 2.2 代理服务将 加密串和token分离: 1.将token归为(删除非token部分) 2.使用加密串 对数据进行解密 给对应的服务
    • 2.3 服务返回结果后: 代理服务将返回的结果 使用加密串进行加密 返回前端
    • 2.4 前端使用加密串 对返回结果进行解密