根据支付宝阿里访客小程序的动态二维码查询来访行程id
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
company_id | Number | 可选 | 1 | 公司id | |
campus_id | Number | 必须 | 66 | 园区id | |
date | Date | 必须 | 2020-12-12 12:12:12 | 来访时间 | |
qr_code | String | 必须 | xxxxxxxxx | 二维码字符串 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | PojoResult | 出参 | |
|
1 2 3 4 5 6 7 8 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaVisitorGetidsbyqrcodeRequest req = new AlibabaVisitorGetidsbyqrcodeRequest(); req.setCompanyId(1L); req.setCampusId(66L); req.setDate(StringUtils.parseDateTime( "2020-12-12 12:12:12" )); req.setQrCode( "xxxxxxxxx" ); AlibabaVisitorGetidsbyqrcodeResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 | < alibaba_visitor_getidsbyqrcode_response > < result > < success ></ success > < error_code ></ error_code > < contents > < string ></ string > </ contents > < error_msg ></ error_msg > < error_level ></ error_level > </ result > </ alibaba_visitor_getidsbyqrcode_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 > |
错误码 | 错误描述 | 解决方案 |
---|