Skip to content

zentao-api / switchProfile

Function: switchProfile()

switchProfile(profileKey?): Promise<ZentaoProfileRecord>

切换当前使用的 profile,并刷新最后使用时间;不传 key 时使用当前 profile。

Parameters

ParameterType
profileKey?string

Returns

Promise<ZentaoProfileRecord>

Released under the MIT License.