站点工具

New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
Hotfix release available: 2018-04-22a "Greebo". upgrade now! [50.1] (what's this?)
New release available: 2018-04-22 "Greebo". upgrade now! [50] (what's this?)
Hotfix release available: 2017-02-19g "Frusterick Manners". upgrade now! [49.7] (what's this?)
Hotfix release available: 2017-02-19f "Frusterick Manners". upgrade now! [49.6] (what's this?)
Hotfix release available: 2017-02-19e "Frusterick Manners". upgrade now! [49.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2017-02-19d "Frusterick Manners". upgrade now! [49.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2017-02-19c "Frusterick Manners". upgrade now! [49.3] (what's this?)
Hotfix release available fixing security token and media manager: 2017-02-19b "Frusterick Manners". upgrade now! [49.2] (what's this?)
Hotfix release available fixing install and media manager issues: 2017-02-19a "Frusterick Manners". upgrade now! [49.1] (what's this?)
New release available: 2017-02-19 "Frusterick Manners". upgrade now! [49] (what's this?)
Hotfix release available: 2016-06-26e "Elenor of Tsort". upgrade now! [48.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2016-06-26d "Elenor of Tsort". upgrade now! [48.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2016-06-26c "Elenor of Tsort". upgrade now! [48.3] (what's this?)
Hotfix release available fixing security token: 2016-06-26b "Elenor of Tsort". upgrade now! [48.2] (what's this?)
Hotfix release available fixing authad issues: 2016-06-26a "Elenor of Tsort". upgrade now! [48.1] (what's this?)
New release available: 2016-06-26 "Elenor of Tsort". upgrade now! [48] (what's this?)
Hotfix release available: 2015-08-10a "Detritus". upgrade now! [47.1] (what's this?)
New release available: 2015-08-10 "Detritus". upgrade now! [47] (what's this?)
Hotfix release available: 2014-09-29d "Hrun". upgrade now! [46.4] (what's this?)
Hotfix release available: 2014-09-29c "Hrun". upgrade now! [46.3] (what's this?)
Hotfix release available to prevent XSS attack via SWF uploads: 2014-09-29b "Hrun". upgrade now! [46.2] (what's this?)
Hotfix release available: 2014-09-29a "Hrun". upgrade now! [46.1] (what's this?)
New release available: 2014-09-29 "Hrun". upgrade now! [46] (what's this?)
Hotfix release available: 2014-05-05e "Ponder Stibbons". upgrade now! [44.5] (what's this?)
Hotfix release available: 2014-05-05d "Ponder Stibbons". upgrade now! [44.4] (what's this?)
Hotfix release available to prevent XSS attack via SWF uploads: 2014-05-05c "Ponder Stibbons". upgrade now! [44.3] (what's this?)
Security Hotfix 2014-05-05b to prevent zero byte attacks on external auth systems is available. upgrade now! [44.2] (what's this?)
Security Hotfix 2014-05-05a for Issue 765 available. upgrade now! [44.1] (what's this?)

user_signin

用户每日签到接口

初次签到热币+1,第2、3、4、5天连续签到热币+2、+3、+4、+5,第5天开始连续签到每天热币+5。如果中断1天没签到,之后再签到,热币重新从+1开始。

1、签到写入接口

https://m.repai.com/signin/signin_put_api/appkey/密钥编号/appoid/手机设备唯一编号/timestamp/1402307990/token/73191b75734ea67df90cbb824ff67811/access_token/rpat_47be0653fe75e8ae3f3d4fa5de931c24

输入参数说明:

  • appkey 【热拍卖家版Android客户端的appkey为100005,iOS为100004;热拍买家版HTML5为100001,iOS为100002,Android为100003;校园微店iOS为100042,Android为100043;】
  • appoid 【设备的唯一ID,android手机取网卡mac地址的md5值作为唯一ID;iOS手机取OpenUDID的md5值作为唯一ID】
  • timestamp 【当前的UNIX时间戳,时间戳有效期20分钟】
  • token 【防篡改验证串,token值的组成为,以PHP代码为例:md5(“RP”.$appkey.$appsecret.$appoid.$access_token.$timestamp) 由客户端生成,其中 $appsecret为密钥,每个appkey对应的不同的密钥,密钥请询问张宴】

输出参数说明:

  • JSON格式输出,错误时,status值为false,reason值为错误原因文本信息,示例如下:
{
"reason": "请登录后,再签到哦!",
"status": false
}
  • JSON格式输出,正确时,status值为true,并输出签到信息,示例如下:

初次签到:

{
"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"
}
  • today_add_integral 【今天签到增加的热币】
  • today_is_signin 【今天在调用签到接口前,是否已经签到,true为是,false为否】
  • today_is_signin_text 【签到后提示的文字】
  • user_integral 【用户的总经验值,经验值是累积的,将来用户区分用户等级,不等同于热币。】
  • rp_coin 【用户的总热币值】

2、当月签到日历查询接口

输入参数说明:


输出参数说明:

{
	"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
	}
}
  • this_month_max_day 【本月最后一天】
  • calendar 【本月1号~本月最后一天的签到记录。例如1号的值为0表示当天没有签到;22号的值为1表示当天已签到并获得1热币;23号的值为2表示当天已签到并获得2热币。0为当天未签到。只要是>0的值就表示当天已签到。】

3、签到页面

在Webview中打开:

http://m.repai.com/signin/view/

页面中的立即签到按钮链接:

repai://signin

当原生APP判断到协议后,先判断是否已经登录,如果没有登录请先登录,登录完成调用《1、签到写入接口》完成签到。

返回首页

user_signin.txt · 最后更改: 2015/01/05 18:31 由 123.126.29.78