No Description

lrf a74f69a97e 数据加密处理 11 months ago
certs a74f69a97e 数据加密处理 11 months ago
src a74f69a97e 数据加密处理 11 months ago
test 4c34a4544c update 11 months ago
.editorconfig 4c34a4544c update 11 months ago
.eslintrc.json 4c34a4544c update 11 months ago
.gitignore 4c34a4544c update 11 months ago
.prettierrc.js 4c34a4544c update 11 months ago
README.md 7a089e793f update 11 months ago
README.zh-CN.md 4c34a4544c update 11 months ago
bootstrap.js 4c34a4544c update 11 months ago
jest.config.js 4c34a4544c update 11 months ago
package-lock.json a74f69a97e 数据加密处理 11 months ago
package.json a74f69a97e 数据加密处理 11 months ago
tsconfig.json 4c34a4544c update 11 months ago

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 前端使用加密串 对返回结果进行解密