开发者文档

捡卡登记

访问路径:api/1/ecard/pick

接口说明:用户一卡通卡丢失,进行捡卡登记(完美校园相关)

URL结构

https://api.17wanxiao.com/api/1/ecard/pick

接口协议:HTTPS

HTTP请求方式:POST

请求参数

参数 必选 类型 说明
card_no true string 丢失者的学号或者卡号
username true string 捡卡者的姓名
phone_no true string 捡卡者的手机号
type true string 捡卡来源: 0为H5 1为APP
outid true string 学号

请求示例

换行和缩进只是为了更好的展示:

https://api.17wanxiao.com/api/1/ecard/pick?card_no=150816 &username=李浩峰&password=13140199399&type=0&outid=150816

返回参数

参数 必选 类型 说明
result_code true float 操作结果:0修改成功,其他则为失败
message true string 失败信息

返回示例

                    
                    {
                        "result_code": 0,
                        "message": "捡卡申报成功"
                    }