From a55f1348c2b229a5c13ac67beec5be14565cc6d8 Mon Sep 17 00:00:00 2001 From: zengyawen Date: Thu, 19 Jan 2023 08:53:33 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/apis/js-apis-appAccount.md. Signed-off-by: zengyawen --- .../reference/apis/js-apis-appAccount.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-appAccount.md b/zh-cn/application-dev/reference/apis/js-apis-appAccount.md index ad4199358f..1402054068 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-appAccount.md +++ b/zh-cn/application-dev/reference/apis/js-apis-appAccount.md @@ -239,7 +239,7 @@ createAccountImplicitly(owner: string, options: CreateAccountImplicitlyOptions, | 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | ----------------------- | | owner | string | 是 | 应用帐号所有者的包名。 | -| options | [CreateAccountImplicitlyOptions](#createaccountimplicitlyoptions9) | 是 | 隐式创建账号的选项。 | +| options | [CreateAccountImplicitlyOptions](#createaccountimplicitlyoptions9) | 是 | 隐式创建帐号的选项。 | | callback | [AuthCallback](#authcallback9) | 是 | 认证器回调对象,返回创建结果。 | **错误码:** @@ -2802,7 +2802,7 @@ addAccount(name: string, extraInfo: string, callback: AsyncCallback<void>) | 参数名 | 类型 | 必填 | 说明 | | --------- | ------------------------- | ---- | ---------------------------------------- | | name | string | 是 | 应用帐号的名称。 | -| extraInfo | string | 是 | 额外信息(能转换string类型的其它信息),额外信息不能是应用帐号的敏感信息(如应用账号密码、token等)。 | +| extraInfo | string | 是 | 额外信息(能转换string类型的其它信息),额外信息不能是应用帐号的敏感信息(如应用帐号密码、token等)。 | | callback | AsyncCallback<void> | 是 | 回调函数。当创建成功时,err为null,否则为错误对象。 | **示例:** @@ -2830,7 +2830,7 @@ addAccount(name: string, extraInfo?: string): Promise<void> | 参数名 | 类型 | 必填 | 说明 | | --------- | ------ | ---- | ---------------------------------------- | | name | string | 是 | 应用帐号的名称。 | -| extraInfo | string | 否 | 额外信息(能转换string类型的其它信息),额外信息不能是应用帐号的敏感信息(如应用账号密码、token等)。 | +| extraInfo | string | 否 | 额外信息(能转换string类型的其它信息),额外信息不能是应用帐号的敏感信息(如应用帐号密码、token等)。 | **返回值:** @@ -3239,7 +3239,7 @@ setAccountExtraInfo(name: string, extraInfo: string, callback: AsyncCallback< | 参数名 | 类型 | 必填 | 说明 | | --------- | ------------------------- | ---- | --------------- | | name | string | 是 | 应用帐号的名称。 | -| extraInfo | string | 是 | 额外信息(能转换string类型的其它信息),额外信息不能是应用帐号的敏感信息(如应用账号密码、token等)。 | +| extraInfo | string | 是 | 额外信息(能转换string类型的其它信息),额外信息不能是应用帐号的敏感信息(如应用帐号密码、token等)。 | | callback | AsyncCallback<void> | 是 | 回调函数。当设置成功时,err为null,否则为错误对象。 | **示例:** @@ -3269,7 +3269,7 @@ setAccountExtraInfo(name: string, extraInfo: string): Promise<void> | 参数名 | 类型 | 必填 | 说明 | | --------- | ------ | ---- | --------- | | name | string | 是 | 应用帐号的名称。 | -| extraInfo | string | 是 | 额外信息(能转换string类型的其它信息),额外信息不能是应用帐号的敏感信息(如应用账号密码、token等)。 | +| extraInfo | string | 是 | 额外信息(能转换string类型的其它信息),额外信息不能是应用帐号的敏感信息(如应用帐号密码、token等)。 | **返回值:** @@ -4558,7 +4558,7 @@ getAuthenticatorInfo(owner: string): Promise<AuthenticatorInfo> ## CreateAccountOptions9+ -表示创建账号的选项。 +表示创建帐号的选项。 **系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.AppAccount。 @@ -4568,7 +4568,7 @@ getAuthenticatorInfo(owner: string): Promise<AuthenticatorInfo> ## CreateAccountImplicitlyOptions9+ -表示隐式创建账号的选项。 +表示隐式创建帐号的选项。 **系统能力:** 以下各项对应的系统能力均为SystemCapability.Account.AppAccount。 @@ -4878,7 +4878,7 @@ createAccountImplicitly(options: CreateAccountImplicitlyOptions, callback: AuthC | 参数名 | 类型 | 必填 | 说明 | | ---------------- | --------------------- | ---- | --------------- | -| options | [CreateAccountImplicitlyOptions](#createaccountimplicitlyoptions9) | 是 | 隐式创建账号的选项。 | +| options | [CreateAccountImplicitlyOptions](#createaccountimplicitlyoptions9) | 是 | 隐式创建帐号的选项。 | | callback | [AuthCallback](#authcallback9) | 是 | 认证器回调对象,用于返回创建结果。 | ### addAccountImplicitly(deprecated) -- GitLab