Skip to content

Commit

Permalink
feat: change api
Browse files Browse the repository at this point in the history
  • Loading branch information
pengfei.lv committed Jul 8, 2022
1 parent b45d934 commit 0dbbafe
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

| 日期 | 版本 | 更新内容 | 源码 |
| ------ | ------------- | ---------- | ---|
| 2022-06-23 | v0.0.1 | 支持一键登录、号码校验<br/> | |
| 2022-07-01 | v0.0.1 | 支持一键登录、号码校验<br/> | |

### 二、接入文档

Expand Down
4 changes: 3 additions & 1 deletion phone-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@ const phoneNumberServer = new PhoneNumberLogin({

**LibInfo 提供方法,可自行实现**

```
```js
// 判断当前环境是否为wifi
LibInfo.isWifi()

// 判断当前环境是否为PC
LibInfo.osIsPc()

// 生成32位随机码,由字母和数字组成
LibInfo.randomString()
```
Expand Down
4 changes: 3 additions & 1 deletion phone-login.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,13 @@ const phoneNumberServer = new PhoneNumberLogin({

**LibInfo 提供方法,可自行实现**

```
```js
// 判断当前环境是否为wifi
LibInfo.isWifi()

// 判断当前环境是否为PC
LibInfo.osIsPc()

// 生成32位随机码,由字母和数字组成
LibInfo.randomString()
```
Expand Down
2 changes: 1 addition & 1 deletion unvs-h5-sdk.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion unvs-h5-sdk.js.map

Large diffs are not rendered by default.

0 comments on commit 0dbbafe

Please sign in to comment.