查询当前oem登录用户身份
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
account_id | String | 必须 | tt_id | 账号ID | |
account_site | String | 必须 | www.taobao.com | 账号系统 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 接口返回model | |
|
1 2 3 4 5 6 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); YunosEbanmaMiniappOemopsUserQueryRequest req = new YunosEbanmaMiniappOemopsUserQueryRequest(); req.setAccountId( "tt_id" ); req.setAccountSite( "www.taobao.com" ); YunosEbanmaMiniappOemopsUserQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | < yunos_ebanma_miniapp_oemops_user_query_response > < result > < msg >success</ msg > < code >0</ code > < success >true</ success > < users > < oem_user > < role >OPS</ role > < nick_name >xiaoli</ nick_name > < account_site >723423</ account_site > < account_id >sdfsdf</ account_id > < id >13</ id > < channel_id >1</ channel_id > < channel_name >sss</ channel_name > < channel_icon >http://bm-miniapp.oss-cn-hangzhou-zmf.aliyuncs.com/92c298d5ba1811ebb54b72745ba63749</ channel_icon > < channel_update_strategy >AUTO</ channel_update_strategy > </ oem_user > </ users > </ result > </ yunos_ebanma_miniapp_oemops_user_query_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|