From 783a1d59355a529bae4d9da77175889ee4fd0f61 Mon Sep 17 00:00:00 2001 From: cclicn Date: Thu, 15 Jun 2023 10:03:55 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=88=86=E5=B8=83=E5=BC=8F=E5=B8=90?= =?UTF-8?q?=E5=8F=B7=E3=80=91DistributedInfo=E6=8E=A5=E5=8F=A3=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0=E4=B8=80=E8=87=B4=E6=80=A7=E9=97=AE=E9=A2=98=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cclicn --- .../apis/js-apis-distributed-account.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-distributed-account.md b/zh-cn/application-dev/reference/apis/js-apis-distributed-account.md index 5e71ec4d62..fb15a53ee4 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-distributed-account.md +++ b/zh-cn/application-dev/reference/apis/js-apis-distributed-account.md @@ -506,15 +506,15 @@ updateOsAccountDistributedInfo(accountInfo: DistributedInfo): Promise<void> **系统能力:** SystemCapability.Account.OsAccount -| 名称 | 类型 | 只读 | 必填 | 说明 | -| -------- | -------- | -------- |-------- | -------- | -| name | string | 否 |是 | 分布式帐号名称,非空字符串。 | -| id | string | 否 |是 | 分布式帐号UID,非空字符串。 | -| event | string | 否 |是 | 分布式帐号登录状态,包括登录、登出、Token失效和注销,分别对应以下字符串:
- Ohos.account.event.LOGIN
- Ohos.account.event.LOGOUT
- Ohos.account.event.TOKEN_INVALID
- Ohos.account.event.LOGOFF | -| nickname9+ | string | 否 |否 | 分布式帐号的昵称,默认为空。 | -| avatar9+ | string | 否 |否 | 分布式帐号的头像,默认为空。 | -| status10+ | [DistributedAccountStatus](#distributedaccountstatus10) | 是 |否 | 分布式帐号的状态,枚举类型,默认为未登录状态。 | -| scalableData8+ | object | 否 |否 | 分布式帐号扩展信息,根据业务所需,以k-v形式传递定制化信息,默认为空。| +| 名称 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| name | string |是 | 分布式帐号名称,非空字符串。 | +| id | string |是 | 分布式帐号UID,非空字符串。 | +| event | string |是 | 分布式帐号登录状态,包括登录、登出、Token失效和注销,分别对应以下字符串:
- Ohos.account.event.LOGIN
- Ohos.account.event.LOGOUT
- Ohos.account.event.TOKEN_INVALID
- Ohos.account.event.LOGOFF | +| nickname9+ | string |否 | 分布式帐号的昵称,默认为空。 | +| avatar9+ | string |否 | 分布式帐号的头像,默认为空。 | +| status10+ | [DistributedAccountStatus](#distributedaccountstatus10) |否 | 分布式帐号的状态,枚举类型,默认为未登录状态。 | +| scalableData8+ | object |否 | 分布式帐号扩展信息,根据业务所需,以k-v形式传递定制化信息,默认为空。| ## DistributedAccountStatus10+ -- GitLab