You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

606 lines
14 KiB

4 years ago
@test = https://test.tall.wiki/braintraining/v1.0
4 years ago
@localhost = http://localhost:7280/v1.0
4 years ago
@type = content-type: application/json;charset=utf-8
4 years ago
@test_tall = http://101.201.226.163/gateway/ptostall
### 登录
# @name login
POST {{test_tall}}/users/signin
{{type}}
deviceId:1
{
"client": 0,
"type": 3,
"data": {
"identifier": "zy",
"credential": "123456"
}
}
4 years ago
### 生成公众号临时二维码
GET {{test}}/wxTencent/createQrCode
### 获取新闻
POST {{test}}/wxTencent/notice
###
4 years ago
POST {{test}}/wxTencent/notice
4 years ago
### 轮播图查询
4 years ago
POST {{test}}/carousel/show
{{type}}
{
"param":{
"equipmentId":"1"
}
}
### 查询抽奖活动
POST {{test}}/raffle/active
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"equipmentId":"1"
}
}
### 查询活动的中奖列表
4 years ago
POST {{localhost}}/raffle/prizeRecord
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"activeId":"1",
"pageNum":1,
"pageSize":10
}
}
### 抽奖
4 years ago
POST {{localhost}}/raffle/draw
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"activeId":"1"
}
}
### 查询用户的中奖纪录
4 years ago
POST {{localhost}}/raffle/selfPrize
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"pageNum":1,
"pageSize":5
},
"userId":1481203617507840000
}
### 查询用户的中奖纪录
4 years ago
POST {{localhost}}/raffle/doTask
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"taskId":1
}
}
### 检查权限
4 years ago
POST {{localhost}}/raffle/checkTask
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"taskId":1
}
}
### 完成任务
4 years ago
POST {{localhost}}/raffle/doTask
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"taskId":1
}
}
### 查询排名
POST {{test}}/brain/rank
{{type}}
# Authorization: Bearer {{login.response.body.$.data.token}}
# deviceId:1111
{
"param":{
"equipmentId":1,
"levelSeveral":20
}
}
### 生成题目
POST {{test}}/brain/generate
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"equipmentId":1
}
}
### 查询指定类型题目
POST {{test}}/brain/queryByClassify
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"activeUserId":1509730757663531008,
"classifyId": 3
4 years ago
}
}
4 years ago
### 保存答案--图片定时回忆
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"
}
]
}
]
}
}
4 years ago
### 查询认知筛查报告
POST {{localhost}}/brain/queryGrade
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"activeUserId":1509013943333691392
}
}
### 脑力测评排名
POST {{localhost}}/brain/rank
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
"equipmentId":1,
"levelSeveral":10
}
}
4 years ago
### 查询有无关注公众号
POST http://101.201.226.163/gateway/ptostall/wx/officialId
{{type}}
Authorization:Bearer eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NDc1MDg3NDEsInN1YiI6IjE0ODEyMDM2MTc1MDc4NDAwMDAiLCJhdXRoSWQiOiIxNDgxMjAzNjE3ODc2OTM4NzUzIiwiZXhwIjoxNjQ3NTE1OTQxfQ.EJcB5PH29--te6emuP6iNXPKNxwk7zRHQ-dNfqZCKMo
deviceId:1111
{
"param":{
"appId":1
}
}