1.2.2 • Published 2 years ago

@titanmatrix/encrypt-request v1.2.2

Weekly downloads
1
License
-
Repository
-
Last release
2 years ago

提供请求加密库

使用方式

依赖库安装

yarn add @titanmatrix/encrypt-request
import encryptRequest from '@titanmatrix/encrypt-request'

const options = {
  appid: 'appid',
  appkey: 'appkey',
  token: 'token',
  version: '系统版本默认1.0.0',
  param: {} // 提交参数
}

let { headers, data } = encryptRequest.getEncryptParam(options)

CDN使用

<script src="https://cdn.jsdelivr.net/npm/@titanmatrix/encrypt-request"></script>

<script >
const options = {
  appid: 'appid',
  appkey: 'appkey',
  token: 'token',
  version: '系统版本默认1.0.0',
  param: {} // 提交参数
}

let { headers, data } = encryptRequest.getEncryptParam(options)
</script>
1.2.2

2 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.1

5 years ago