查询单个用户签到的统计信息

基本信息

Path: /api/act/InquireUserSignStat

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json    
Authorization token    

Body

名称 类型 是否必须 默认值 备注 其他信息
gid integer 必须   房间ID  
act_id integer 必须 0 活动ID,用于区分多期开放的签到活动  
start_date string 必须   活动开始日期,用于区分多期开放的签到活动 date格式均为20060102
end_date string 非必须   活动结束日期 date格式均为20060102
cycle integer 非必须   签到周期,单位:天  
uid integer 必须 0 用户ID  
ts integer 必须   时间戳  
nonce string 必须   随机字符串  

返回数据

名称 类型 是否必须 默认值 备注 其他信息
ret integer 必须      
msg string 必须      
data object 非必须     {}
├─ uid string 非必须   用户ID  
├─ total_signed string 非必须   累计签到次数 "0"
├─ continuous_signed string 非必须   连续签到次数 "0"
├─ has_signed_today bool 非必须   今天是否已签 true:已签,false:未签
├─ latest_sign_date string 非必须   最近签到日期 date格式均为20060102
├─ max_continuous_signed string 非必须   最大连续签到次数 "0"

返回示例

{
  "ret": 0,
  "msg": "ok",
  "data": {
    "uid": "100000086",
    "total_signed": "2",
    "continuous_signed": "0",
    "has_signed_today": false,
    "latest_sign_date": "20211006"
  }
}