##passport注册
1.登录:
>地址:`http://121.41.35.148/p2p/index.php?__=passport/login&__VIEW__=json`
|参数|含义|是否必须|备注|
|--|--|--|--|
|code|登陆时获取的临时码|Y||
|redirectUri|回调地址|Y||
* * * * *
>返回值
{"account":{"accountId":"81568478941117","nickname":"UID:****117"},"checkinBook":{"ymd":"20151014","checked":[],"todaychked":0,"bonusList":[{"ShopPoint":1,"VoucherCheckin":1},{"ShopPoint":1},{"ShopPoint":2,"VoucherCheckin":1},{"ShopPoint":2},{"ShopPoint":3,"VoucherCheckin":1},{"ShopPoint":3},{"ShopPoint":4,"VoucherCheckin":1},{"ShopPoint":4},{"ShopPoint":5,"VoucherCheckin":1},{"ShopPoint":5},{"ShopPoint":6,"VoucherCheckin":1},{"ShopPoint":6},{"ShopPoint":7,"VoucherCheckin":1},{"ShopPoint":7},{"ShopPoint":8,"VoucherCheckin":1},{"ShopPoint":8},{"ShopPoint":9,"VoucherCheckin":1},{"ShopPoint":9},{"ShopPoint":10,"VoucherCheckin":1},{"ShopPoint":10},{"ShopPoint":11,"VoucherCheckin":1}]},"code":200,"info":{"accountId":"81568478941117","nickname":"UID:1117"},"msg":"\u6210\u529f"}
2.获取自己的优惠码:
>地址:`http://121.41.35.148/p2p/index.php?__=passport/getInvitationCode&__VIEW__=json`
|参数|含义|是否必须|备注|
|--|--|--|--|
|code|登陆时获取的临时码|Y||
|redirectUri|回调地址|Y||
* * * * *
>返回值
{"account":{"accountId":"81568478941117","nickname":"UID:****117"},"checkinBook":{"ymd":"20151014","checked":[],"todaychked":0,"bonusList":[{"ShopPoint":1,"VoucherCheckin":1},{"ShopPoint":1},{"ShopPoint":2,"VoucherCheckin":1},{"ShopPoint":2},{"ShopPoint":3,"VoucherCheckin":1},{"ShopPoint":3},{"ShopPoint":4,"VoucherCheckin":1},{"ShopPoint":4},{"ShopPoint":5,"VoucherCheckin":1},{"ShopPoint":5},{"ShopPoint":6,"VoucherCheckin":1},{"ShopPoint":6},{"ShopPoint":7,"VoucherCheckin":1},{"ShopPoint":7},{"ShopPoint":8,"VoucherCheckin":1},{"ShopPoint":8},{"ShopPoint":9,"VoucherCheckin":1},{"ShopPoint":9},{"ShopPoint":10,"VoucherCheckin":1},{"ShopPoint":10},{"ShopPoint":11,"VoucherCheckin":1}]},"code":200,"info":{"accountId":"81568478941117","nickname":"UID:1117"},"msg":"\u6210\u529f"}