飞猪-菲住联盟迁移,手机号登录
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_mobile_phone_login_request | MobilePhoneLoginRequest | 可选 | 入参对象 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | UserLoginResponse | result | 返回结果 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripFuturehotelHauserPhoneloginRequest req = new AlitripFuturehotelHauserPhoneloginRequest(); AlitripFuturehotelHauserPhoneloginRequest.MobilePhoneLoginRequest obj1 = new AlitripFuturehotelHauserPhoneloginRequest.MobilePhoneLoginRequest(); obj1.setServiceProtocolId("2344"); obj1.setVerifyCode("123456"); obj1.setCode("231dw"); obj1.setInviterUserId(231L); obj1.setOpenId("2dxx2"); obj1.setChannel(1L); obj1.setBusinessId(101L); obj1.setHotelId(122L); obj1.setTerminal("qw12"); obj1.setUserid("221"); obj1.setDeviceId("232"); obj1.setToken("12qw"); obj1.setRecommenderId(22L); obj1.setMobilePhone("13800000000"); obj1.setAppId(1002L); obj1.setLoginIp("127.0.0.1"); obj1.setPrivacyProtocolId("2345"); obj1.setSsoUserId(1L); req.setParamMobilePhoneLoginRequest(obj1); AlitripFuturehotelHauserPhoneloginResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<alitrip_futurehotel_hauser_phonelogin_response> <result> <fh_msg>失败</fh_msg> <user_base_info> <birthday>2000-01-01</birthday> <member_level_id>28001</member_level_id> <service_protocol_id>2344</service_protocol_id> <role>1</role> <need_bind_phone>false</need_bind_phone> <effective_time>9999-01-01</effective_time> <channel>1</channel> <discount>9.7</discount> <wechat_app_open_id>waq11</wechat_app_open_id> <role_types> <string>[“employee”]</string> </role_types> <points>23.00</points> <nick>小凡</nick> <vip_member>false</vip_member> <zhima_member_save_money>0</zhima_member_save_money> <award>false</award> <weixin_openid>2sd</weixin_openid> <alipay_open_card_url>http://</alipay_open_card_url> <privacy_protocol_id>223d</privacy_protocol_id> <saved_money>0</saved_money> <id>1</id> <is_hotel_admin>false</is_hotel_admin> <email>1@126.com</email> <wechat_card>false</wechat_card> <member_id>28801</member_id> <is_zhima_member>false</is_zhima_member> <is_first_login>false</is_first_login> <coupon>false</coupon> <sex>1</sex> <weixin_id>22qw</weixin_id> <photo>http://</photo> <member_protocol_id>2</member_protocol_id> <member_level_name>会员</member_level_name> <hotel_id>122</hotel_id> <alipay_account>12@126.com</alipay_account> <alipay_card>false</alipay_card> <has_sent_login>false</has_sent_login> <token>12as</token> <label_list> <string>[]</string> </label_list> <mobile_phone>1380000000</mobile_phone> <equity_desc>权益说明</equity_desc> <balance_points>0</balance_points> <home_domicile>北京</home_domicile> <name>测试</name> <alipay_id>2880912</alipay_id> </user_base_info> <fh_code>0</fh_code> <fh_success>false</fh_success> </result> </alitrip_futurehotel_hauser_phonelogin_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|