Browse Source

保存分数

master
zhizhi wu 3 years ago
parent
commit
7cfae011a5
  1. 406
      脑力训练云平台/脑力训练.http

406
脑力训练云平台/脑力训练.http

@ -1,5 +1,5 @@
@test = https://test.tall.wiki/braintraining/v1.0
@loaclhost = http://localhost:7280/v1.0
@localhost = http://localhost:7280/v1.0
@type = content-type: application/json;charset=utf-8
@test_tall = http://101.201.226.163/gateway/ptostall
@ -52,7 +52,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
### 查询活动的中奖列表
POST {{loaclhost}}/raffle/prizeRecord
POST {{localhost}}/raffle/prizeRecord
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
@ -65,7 +65,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
}
### 抽奖
POST {{loaclhost}}/raffle/draw
POST {{localhost}}/raffle/draw
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
@ -77,7 +77,7 @@ deviceId:1111
}
### 查询用户的中奖纪录
POST {{loaclhost}}/raffle/selfPrize
POST {{localhost}}/raffle/selfPrize
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
@ -90,7 +90,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
}
### 查询用户的中奖纪录
POST {{loaclhost}}/raffle/doTask
POST {{localhost}}/raffle/doTask
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
@ -100,7 +100,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
}
}
### 检查权限
POST {{loaclhost}}/raffle/checkTask
POST {{localhost}}/raffle/checkTask
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
@ -111,7 +111,7 @@ deviceId:1111
}
}
### 完成任务
POST {{loaclhost}}/raffle/doTask
POST {{localhost}}/raffle/doTask
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
@ -145,7 +145,7 @@ deviceId:1111
}
}
### 查询指定类型题目
POST {{test}}/brain/queryByClassify
POST {{localhost}}/brain/queryByClassify
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
@ -157,6 +157,396 @@ deviceId:1111
}
}
### 保存答案--图片定时回忆
POST {{localhost}}/brain/saveAnswer
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"activeUserId":1509013943333691392,
"classifyId": 1,
"finishReason":2,
"questions":[
{
"questionId":1509013943610515456,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "1"
},
{
"operateTime": "1648622909781",
"content": "4"
}
]
}
]
}
}
### 保存答案--数字汉字交替排序连线
POST {{localhost}}/brain/saveAnswer
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"activeUserId":1509013943333691392,
"classifyId": 2,
"finishReason":2,
"questions":[
{
"questionId":1509013943698595840,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "5"
},
{
"operateTime": "1648622910781",
"content": "6"
},
{
"operateTime": "1648622911781",
"content": "7"
},
{
"operateTime": "1648622912781",
"content": "8"
},
{
"operateTime": "1648622913781",
"content": "9"
},
{
"operateTime": "1648622914781",
"content": "10"
},
{
"operateTime": "1648622915781",
"content": "11"
},
{
"operateTime": "1648622916781",
"content": "12"
},
{
"operateTime": "1648622917781",
"content": "13"
},
{
"operateTime": "1648622918781",
"content": "14"
}
]
}
]
}
}
### 保存答案--抽象分类
POST {{localhost}}/brain/saveAnswer
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"activeUserId":1509013943333691392,
"classifyId": 3,
"finishReason":2,
"questions":[
{
"questionId":1509013943828619264,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "9"
}
]
},{
"questionId":1509013943828619265,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "9"
}
]
},{
"questionId":1509013943828619266,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "10"
}
]
},{
"questionId":1509013943828619267,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "10"
}
]
}
]
}
}
### 保存答案--左手右手
POST {{localhost}}/brain/saveAnswer
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"activeUserId":1509013943333691392,
"classifyId": 4,
"finishReason":3,
"questions":[
{
"questionId":1509013943920893952,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "17"
}
]
},{
"questionId":1509013943920893953,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "15"
}
]
},{
"questionId":1509013943920893954,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "19"
}
]
}
]
}
}
### 保存答案--时间概念
POST {{localhost}}/brain/saveAnswer
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"activeUserId":1509013943333691392,
"classifyId": 5,
"finishReason":3,
"questions":[
{
"questionId":1509013944046723072,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "21"
}
]
},{
"questionId":1509013944046723073,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "24"
}
]
},{
"questionId":1509013944046723074,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "28"
}
]
},{
"questionId":1509013944046723075,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "31"
}
]
}
]
}
}
### 保存答案--空间定位
POST {{localhost}}/brain/saveAnswer
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"activeUserId":1509013943333691392,
"classifyId": 6,
"finishReason":3,
"questions":[
{
"questionId":1509013944168357888,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "34"
},{
"operateTime": "1648622908881",
"content": "36"
},{
"operateTime": "1648622908881",
"content": "41"
}
]
},{
"questionId":1509013944168357889,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "42"
},{
"operateTime": "1648622908881",
"content": "46"
},{
"operateTime": "1648622908881",
"content": "50"
}
]
},{
"questionId":1509013944168357890,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "65"
},{
"operateTime": "1648622908881",
"content": "69"
},{
"operateTime": "1648622908881",
"content": "71"
}
]
}
]
}
}
### 保存答案--数字找茬
POST {{localhost}}/brain/saveAnswer
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"activeUserId":1509013943333691392,
"classifyId": 7,
"finishReason":3,
"questions":[
{
"questionId":1509013944256438272,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "74"
},{
"operateTime": "1648622908881",
"content": "75"
},{
"operateTime": "1648622908881",
"content": "76"
}
]
}
]
}
}
### 保存答案--连续减法
POST {{localhost}}/brain/saveAnswer
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"activeUserId":1509013943333691392,
"classifyId": 8,
"finishReason":3,
"questions":[
{
"questionId":1509013944264826880,
"questionContent":"",
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "96"
}
]
},{
"questionId":0,
"questionContent":"96-16",
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "74"
}
]
},{
"questionId":0,
"questionContent":"74-16",
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "50"
}
]
},{
"questionId":0,
"questionContent":"50-16",
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "34"
}
]
},{
"questionId":0,
"questionContent":"34-16",
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "18"
}
]
}
]
}
}

Loading…
Cancel
Save