1.2.2 • Published 3 years ago

@titanmatrix/encrypt-request v1.2.2

Weekly downloads
1
License
-
Repository
-
Last release
3 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

3 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.4

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.1

6 years ago