Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountInfo ¶
type AccountInfo struct { AccountId uint64 `json:"accountId,omitempty" codec:"accountId,omitempty"` Status uint8 `json:"status,omitempty" codec:"status,omitempty"` // 账户状态 MainNum uint32 `json:"mainNum,omitempty" codec:"mainNum,omitempty"` // 充值(主)账户京豆数量 SubNum uint32 `json:"subNum,omitempty" codec:"subNum,omitempty"` // 充值(副)账户京豆数量 Creator string `json:"creator,omitempty" codec:"creator,omitempty"` // 创建人 Modified uint64 `json:"modified,omitempty" codec:"modified,omitempty"` // 最近一次修改时间 AccountCode string `json:"accountCode,omitempty" codec:"accountCode,omitempty"` // 京豆账户,当accountType=1,则accountCode为商家id;当accountType=2,则accouontCode为供应商简码 Created uint64 `json:"created,omitempty" codec:"created,omitempty"` // 创建时间 FreezeNum uint32 `json:"freezeNum,omitempty" codec:"freezeNum,omitempty"` // 冻结京豆数量 AccountType uint8 `json:"accountType,omitempty" codec:"accountType,omitempty"` // 京豆账户类型,1:商家账户,2:供应商账户,3:品牌商账户 AvailableNum uint32 `json:"availableNum,omitempty" codec:"availableNum,omitempty"` // 可用京豆数量 }
func GetAccountInfo ¶
func GetAccountInfo(req *GetAccountInfoRequest) (*AccountInfo, error)
type GetAccountInfoData ¶
type GetAccountInfoData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` Result *AccountInfo `json:"beanAccount,omitempty" codec:"beanAccount,omitempty"` }
type GetAccountInfoRequest ¶
type GetAccountInfoRequest struct { api.BaseRequest AccountType uint8 `json:"accountType" codec:"accountType"` AccountCode string `json:"accountCode" codec:"accountCode"` }
type GetAccountInfoResponse ¶
type GetAccountInfoResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *GetAccountInfoData `json:"jingdong_pop_account_getAccountInfo_responce,omitempty" codec:"jingdong_pop_account_getAccountInfo_responce,omitempty"` }
Click to show internal directories.
Click to hide internal directories.