灵犀互娱-用户中台-用户信息查询接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
query_user_session_info_req_dto | PassportSessionAuthReqDTO | 可选 | 用户会话校验请求体 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
message | String | 账号不存在 | 错误信息描述。只有succ=false时必传 |
result_code | String | UID_NOT_FUND | 错误信息码。只有succ=false时必传 |
data | PassportSessionInfoRespDTO | 响应内容 | |
|
|||
req_id | String | a49nxls8mfjfdps4 | 唯一请求id |
succ | Boolean | true | 本次请求操作是否成功 |
1 2 3 4 5 6 7 8 9 10 11 12 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAligamesUserPassportSessionAuthRequest req = new AlibabaAligamesUserPassportSessionAuthRequest(); AlibabaAligamesUserPassportSessionAuthRequest.PassportSessionAuthReqDTO obj1 = new AlibabaAligamesUserPassportSessionAuthRequest.PassportSessionAuthReqDTO(); obj1.setSessionId( "pt1111111111111223333" ); obj1.setRequestId( "jdfisaj293jrkeqh895nfhq" ); obj1.setAppId( "jym-merchant" ); obj1.setBizId( "jiaoyimao" ); obj1.setTimestamp(1661320960000L); obj1.setAppCode( "JIUYOU_ANDROID_APP" ); req.setQueryUserSessionInfoReqDto(obj1); AlibabaAligamesUserPassportSessionAuthResponse 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 | < alibaba_aligames_user_passport_session_auth_response > < message >账号不存在</ message > < result_code >UID_NOT_FUND</ result_code > < data > < passport_id >102111111111111111111</ passport_id > < local_id >103111111111111111111</ local_id > < client_expire_time >xx</ client_expire_time > < login_mode >SMS</ login_mode > < app_code >JIUYOU_ANDROID_APP</ app_code > < uid >2989111122</ uid > < st_type >1</ st_type > < elevate_permission >1</ elevate_permission > </ data > < req_id >a49nxls8mfjfdps4</ req_id > < succ >true</ succ > </ alibaba_aligames_user_passport_session_auth_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 > |
错误码 | 错误描述 | 解决方案 |
---|