-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ const client = new Client({ | |
默认是外网`prod`, 内网请使用`aliprod`, 不同环境token不通用。 | ||
|
||
#### 重置token | ||
如果token过期 可以通过client实例的方法刷心token. | ||
如果token过期 可以通过client实例的方法刷新token. | ||
|
||
```javascript | ||
const client = new Client('your token'); | ||
|
@@ -95,4 +95,4 @@ async () => { | |
// 添加模板, 返回值同 site.addMaterials | ||
const res = site.addScaffolds(siteId, ['@alifd/[email protected]']); | ||
} | ||
``` | ||
``` |