文档
测试

积分页面

GET
http://yftest.znsite.cn/index.php/index/Index/studentScore

接口描述

学员积分页面

请求参数

参数名
类型
描述
必填
student_id
int
学员id
必填

响应参数

参数名
类型
描述
必填
sign_score
int
签到积分
必填
signList
array
签到记录
必填
date
string
日期
必填
state
int
签到状态(0 未签到 1已签到)
必填
code
int
状态码
必填
good_list
array
商品列表
必填
id
int
商品ID
必填
name
string
商品名称
必填
img
string
商品图
必填
score
int
兑换积分
必填
student
array
学员信息
必填
id
int
学员id
必填
score
int
学员积分
必填
name
string
学员姓名
必填
header
string
头像
必填

说明 / 示例

{ "sign_score": 10, "signList": [ { "date": "03.28", "state": 0 }, { "date": "今天", "state": 0 }, { "date": "03.30", "state": 0 }, { "date": "03.31", "state": 0 }, { "date": "04.01", "state": 0 }, { "date": "04.02", "state": 0 }, { "date": "04.03", "state": 0 } ], "code": 200, "good_list": [ { "id": 1, "name": "米老鼠书包", "img": "http://yftest.znsite.cn/storage/uploads/20220321/82aeb59b843fa145b2a0456754918a08.png", "score": 100 } ], "student": { "id": 224, "student_num": "01166904", "name": "王金洋", "parent_name": "", "nickname": null, "sex": "女", "birth": "2018-02-04", "header": "", "relation": "妈妈", "mobile": "13898822885", "password": "$2y$12$3dwx6fWV8vulWaHiMcOBu.wtC7nZfoserJa2ctFz.Qto5Yehz3j2G", "campus": 1, "spare_mobile": "", "spare_relation": "爸爸", "address": "", "school": "", "grade": "", "type": 2, "status": 1, "from": "", "follow_state": 0, "intention_level": 0, "follower": 0, "last_follower_time": null, "next_follower_time": null, "remark": "", "destroy_hours": 0, "surplus_hours": 0, "sign_in": 2, "leave": 0, "absence": 2, "is_del": 0, "is_ding": 0, "ding_userid": null, "end_reason": null, "create_time": "2022-01-16 09:23:12", "sign_up_time": null, "leave_time": null, "score": 860 } }