account

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

账户服务,用于查询/更新账户所有属性,包括:账户余额、预算、地域、注册域名等

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccountInfo

func GetAccountInfo(clt *core.SDKClient, auth model.RequestHeader, accountFields []string) ([]account.Account, error)

查询账户 获取username对应的账户信息;如果是来自MCC Token的请求,则返回target对应的账户信息。

func UpdateAccountInfo

func UpdateAccountInfo(clt *core.SDKClient, auth model.RequestHeader, accountInfo *account.Account) ([]account.Account, error)

更新账户 更新username对应的账户信息,如果是来自MCC Token的请求,则更新target对应的账户信息。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL