myMuseumAppoints - TimYi/FengHuang GitHub Wiki

请求URL

http://www.ifhzj.com/api/user/museumAppoints

请求方式

GET  

请求参数

token:用户凭据
page:页号
size:分页大小
status:预约状态:WAITING 等待客服确认,PROCESSING 处理中,FINISH 以到店,CANCEL 取消

返回参数

id:id
code:编码
user:预约用户
museum:体验馆{id,name,city,pic}
realName:真实姓名
mobile:手机号码
status:预约状态:WAITING 等待客服确认,PROCESSING 处理中,FINISH 以到店,CANCEL 取消
message:留言,如果确定了到店时间,可以附加一条留言给用户
appointTime:预约时间,用户预约之后,由后台客服联系客户后录入

返回示例

{
"result": {
    "totalCount": 1,
    "totalPages": 1,
    "page": 1,
    "size": 8,
    "result": [
        {
            "id": "8aac49ea4ebf5c50014ebf5e87ee0000",
            "code": "EA010150724MtPa",
            "user": {
                "id": "8aac49ea4e70816e014e708242ab0000",
                "username": "ytm",
                "verified": true,
                "cnname": "熊小易",
                "realName": "易天明",
                "ename": "",
                "sex": {
                    "id": "404040e64dd26ab5014dd26ac64e0014",
                    "name": "女",
                    "attr": null,
                    "attr2": null,
                    "type": "sex"
                },
                "mobile": "18612444099",
                "intro": "",
                "email": "",
                "qqnum": null,
                "qqid": null,
                "weixinnum": null,
                "weixinid": null,
                "birthDay": null,
                "bloodType": null,
                "constellation": null,
                "avatar": {
                    "id": "8aac49ea4e9b42d4014e9b4b6b800001",
                    "url": "http://IFHZJ.com/media/2f3d39b3030d4924b853b6f7dbd1bac3.png",
                    "fileSize": 47084
                },
                "trade": "",
                "address": "",
                "expVal": 0,
                "integra": 0,
                "regTime": "2015-07-09 09:51:01",
                "regIp": "127.0.0.1",
                "loginTime": "2015-07-24 17:19:54",
                "loginip": "127.0.0.1",
                "weiboid": null,
                "infoComplete": true
            },
            "museum": {
                "id": "8aac49ea4ebede21014ebede4f460000",
                "name": "北京体验馆",
                "city": {
                    "id": "404040e64e2a016a014e2a017a7e0004",
                    "name": "北京",
                    "level": "CITY",
                    "code": "010"
                },
                "pic": null
            },
            "realName": "易天明",
            "mobile": "18612444099"
        }
    ]
},
"status": "OK"
}