public class AccountInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AccountInfo() | 
| AccountInfo(AccountInfo source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getAccountType()Get 用户账号类型;默认开通QQOpenId、手机号MD5权限;如果需要使用微信OpenId入参,则需要"提交工单"或联系对接人进行资格审核,审核通过后方可正常使用微信开放账号。
1:QQ开放账号
2:微信开放账号
10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值
10005:手机号SHA256,中国大陆11位手机号进行SHA256加密,取64位小写值 | 
| OtherAccountInfo | getOtherAccount()Get 其它账号信息,AccountType是10004或10005时,该字段必填。 | 
| QQAccountInfo | getQQAccount()Get QQ账号信息,AccountType是"1"时,该字段必填。 | 
| WeChatAccountInfo | getWeChatAccount()Get 微信账号信息,AccountType是"2"时,该字段必填。 | 
| void | setAccountType(Long AccountType)Set 用户账号类型;默认开通QQOpenId、手机号MD5权限;如果需要使用微信OpenId入参,则需要"提交工单"或联系对接人进行资格审核,审核通过后方可正常使用微信开放账号。
1:QQ开放账号
2:微信开放账号
10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值
10005:手机号SHA256,中国大陆11位手机号进行SHA256加密,取64位小写值 | 
| void | setOtherAccount(OtherAccountInfo OtherAccount)Set 其它账号信息,AccountType是10004或10005时,该字段必填。 | 
| void | setQQAccount(QQAccountInfo QQAccount)Set QQ账号信息,AccountType是"1"时,该字段必填。 | 
| void | setWeChatAccount(WeChatAccountInfo WeChatAccount)Set 微信账号信息,AccountType是"2"时,该字段必填。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AccountInfo()
public AccountInfo(AccountInfo source)
public Long getAccountType()
public void setAccountType(Long AccountType)
AccountType - 用户账号类型;默认开通QQOpenId、手机号MD5权限;如果需要使用微信OpenId入参,则需要"提交工单"或联系对接人进行资格审核,审核通过后方可正常使用微信开放账号。
1:QQ开放账号
2:微信开放账号
10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值
10005:手机号SHA256,中国大陆11位手机号进行SHA256加密,取64位小写值public QQAccountInfo getQQAccount()
public void setQQAccount(QQAccountInfo QQAccount)
QQAccount - QQ账号信息,AccountType是"1"时,该字段必填。public WeChatAccountInfo getWeChatAccount()
public void setWeChatAccount(WeChatAccountInfo WeChatAccount)
WeChatAccount - 微信账号信息,AccountType是"2"时,该字段必填。public OtherAccountInfo getOtherAccount()
public void setOtherAccount(OtherAccountInfo OtherAccount)
OtherAccount - 其它账号信息,AccountType是10004或10005时,该字段必填。Copyright © 2025. All rights reserved.