zentao-api / switchProfile
Function: switchProfile()
switchProfile(
profileKey?):Promise<ZentaoProfileRecord>
切换当前使用的 profile,并刷新最后使用时间;不传 key 时使用当前 profile。
Parameters
| Parameter | Type |
|---|---|
profileKey? | string |
Returns
Promise<ZentaoProfileRecord>