请求地址:user/getintegral
所需参数:
| 参数 | 必要 |注释
| --- | --- |---|
| openid | 是|
成功
~~~
{"data":
[{"id":2,
"openid":123456789//用户openid
num":"5",奖励分值
"explain":"",奖励说明
"create_time":"2018-03-29 22:54:50",
"type":"1",//1是加分 -1是减分
"bt":"1"//答题奖励
},
{"id":6,
"openid":123456789,
"num":"20",
"explain":"兑换商品",
"create_time":"2018-04-02 11:05:42",
"type":"-1",
"bt":"2"}],"info":"查找成功","state":1}
~~~
失败
{"data":"","info":"没有数据","state":0}