初次签到热币+1,第2、3、4、5天连续签到热币+2、+3、+4、+5,第5天开始连续签到每天热币+5。如果中断1天没签到,之后再签到,热币重新从+1开始。
https://m.repai.com/signin/signin_put_api/appkey/密钥编号/appoid/手机设备唯一编号/timestamp/1402307990/token/73191b75734ea67df90cbb824ff67811/access_token/rpat_47be0653fe75e8ae3f3d4fa5de931c24
{ "reason": "请登录后,再签到哦!", "status": false }
初次签到:
{ "today_add_integral": "1", "today_is_signin": false, "today_is_signin_text": "今日热币+1。主人,茫茫人海中,很高兴与你相遇,是否一切天意注定,今生我们有缘?", "user_integral": "1", "rp_coin": "1" }
第2天连续签到:
{ "today_add_integral": "2", "today_is_signin": false, "today_is_signin_text": "今日热币+2。主人,昨天才见,今天依旧甚是想念。", "user_integral": "3", "rp_coin": "3" }
第3天连续签到:
{ "today_add_integral": "3", "today_is_signin": false, "today_is_signin_text": "今日热币+3。主人,在我们相遇后的第3天,你是否跟我一样彼此挂念?", "user_integral": "6", "rp_coin": "6" }
连续5天以上天天签到:
{ "today_add_integral": "5", "today_is_signin": false, "today_is_signin_text": "今日热币+5。主人,祝你天天都有好心情。", "user_integral": "100", "rp_coin": "100" }
中途有1天以上忘记签到:
{ "today_add_integral": "1", "today_is_signin": false, "today_is_signin_text": "今日热币+1。主人,这些天你去了哪儿,过得还好吗?纵使相思无觅处,直到今天再遇见。", "user_integral": "101", "rp_coin": "101" }
当天重复签到:
{ "today_add_integral": "0", "today_is_signin": true, "today_is_signin_text": "主人,今天我们已经有过约会哦!", "user_integral": "1", "rp_coin": "1" }
{ "this_month_max_day": "31", "calendar": { "1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":1,"23":2,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0 } }
在Webview中打开:
http://m.repai.com/signin/view/
页面中的立即签到按钮链接:
repai://signin
当原生APP判断到协议后,先判断是否已经登录,如果没有登录请先登录,登录完成调用《1、签到写入接口》完成签到。