企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
>获取签到数据 ~~~[api] get:/index.php/signed/Apisigned/member_signed_info int:starttime= #签到数据的开始时间戳 starttime 和 endtime 留空表示当月 int:endtime= #签到数据的结束时间戳 starttime 和 endtime 留空表示当月 <<< success { "err": 0, "continuous": 3, "current_timeslot_times": 3, "total_times": 3, "todaySigned": 1, "signed_contact_is": "2", "rewardList": { "4": { "point_type": "point", "point_name": "积分", "point_unit": "分", "point": "210", "ico": "\/news\/public\/Upload\/admin\/1\/5c91eed377973.png", "decimal": 0, "reward": "10" }, "3": { "point_type": "money", "point_name": "余额", "point_unit": "元", "point": "3,861.00", "ico": "\/news\/public\/Upload\/admin\/1\/5c91eed377973.png", "decimal": 2, "reward": "5" }, "1": { "point_type": "point", "point_name": "积分", "point_unit": "分", "point": "210", "ico": "\/news\/public\/Upload\/admin\/1\/5c91eed377973.png", "decimal": 0, "reward": "5" } }, "data": { "2020_03_05": { "id": 4, "userid": 1, "addtime": 1583419292, "point": { "point": 5, "point_type": "money", "point_name": "余额", "point_unit": "元", "ico": "\/news\/public\/Upload\/admin\/1\/5c91eed377973.png", "decimal": 2 }, "positionX": "0.000000", "positionY": "0.000000", "type": "point", "point_type": "money" }, "2020_03_04": { "id": 3, "userid": 1, "addtime": 1583315841, "point": { "point": 2, "point_type": "money", "point_name": "余额", "point_unit": "元", "ico": "\/news\/public\/Upload\/admin\/1\/5c91eed377973.png", "decimal": 2 }, "positionX": "0.000000", "positionY": "0.000000", "type": "point", "point_type": "money" }, "2020_03_03": { "id": 2, "userid": 1, "addtime": 1583229441, "point": { "point": 5, "point_type": "point", "point_name": "积分", "point_unit": "分", "ico": "\/news\/public\/Upload\/admin\/1\/5c91eed377973.png", "decimal": 0 }, "positionX": "0.000000", "positionY": "0.000000", "type": "point", "point_type": "point" } } } <<< error { "err": 1, "code": 1000, "content": "错误信息" } ~~~ | 字段 | 描述 | | --- | --- | | continuous | 连续签到的天数 | | current_timeslot_times| 当前时间段签到次数,非连续 | | todaySigned| 今天是否签到 | | signed_contact_is| 签到奖励天数是否按照连续签到天数累计,1:连续签到才奖励,2:不连续累计,只要签到达到天数就奖励 | | total_times| 总共签到次数 | | rewardList | 签到奖励列表,key:为累计签到天数,如果 signed_contact_is为1表示连续签到天数,为2表示非连续签到天数。值为签到奖励的积分数据(point_type:积分标识,point_name:积分名称,point_unit:积分单位,point:当前用户所拥有的积分数,ico:积分类型的图标,decimal:积分小数位数,reward:签到累计达到key天奖励的积分数),如案例中表示,签到累计达到1,3,4天时分别奖励对应的积分| | data | 签到数据,key为签到日期,值为签到的数据,userid:签到用户的id,addtime:签到时间戳,point:(point:当前用户所拥有的积分数,point_type:积分标识,point_name:积分名称,point_unit:积分单位,ico:积分图标,decimal:积分保存的小数位数,reward:签到奖励的积分数) | >今日签到 ~~~[api] get:/index.php/signed/Apisigned/member_signed <<< success { "err": 0, "data": { "reward": "5", "point_type": "point", "point_name": "积分", "point_unit": "分", "continuous": 1, "current_timeslot_times": 1, "addtime": 1583469947 } } <<< error { "err": 1, "code": 1000, "content": "错误信息" } ~~~ | 字段 | 描述 | | --- | --- | | continuous | 连续签到的天数 | | current_timeslot_times| 当前时间段签到次数,非连续 | | reward| 今日签到获取的积分数 | | point_type| 签到获取的积分标识 | | point_name| 签到获取的积分的名称 | | point_unit| 签到获取积分的单位 | | addtime| 签到时间戳|