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.

852 lines
21 KiB

4 years ago
@test = https://test.tall.wiki/braintraining/v1.0
3 years ago
@www = https://www.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
3 years ago
@101_tall = http://101.201.226.163/gateway/ptostall
@test_tall = https://test.tall.wiki/gateway/ptostall
@test_token = Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NTA2OTM4NTIsInN1YiI6IjE1MTc3NDYxMzgzODM2NTA4MTYiLCJhdXRoSWQiOiIxNTE3NzQ2MTM4NDA0NjIyMzM2IiwiZXhwIjoxNjUwNzAxMDUyfQ.MOVqYaywxST3teIfNWL2i_lDZz19BYwdZcFPQ2kbe1s
###
GET {{localhost}}/debug/pay
4 years ago
### 登录
# @name login
3 years ago
POST {{test}}/users/signin
4 years ago
{{type}}
deviceId:1
{
"client": 0,
"type": 3,
"data": {
"identifier": "zy",
"credential": "123456"
}
}
4 years ago
3 years ago
### 获取扫一扫权限参数
GET {{test}}/order/authorization?url="https://test.tall.wiki/braintraining/v1.0/order/notice"
{{type}}
###
POST https://test.tall.wiki/braintraining/v1.0/order/notice
3 years ago
{{type}}
{
}
3 years ago
###
GET http://test.tall.wiki:9902/wxconfigurer/v1.0/wx/createMenu
### 下单生成收款二维码
POST {{test}}/order/generate
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"name":"七天计划",
"price":1
}
}
### 修改收货地址
POST {{localhost}}/wxTencent/updateAddress
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"id":"1518178996293214208",
"name":"654654",
"phone":"15335153627",
"province":"140000000000",
"city":"140100000000",
"county":"140105000000",
"street":"140105004000",
"address":"就在旁边"
}
}
### 添加收货地址
POST {{test}}/wxTencent/saveAddress
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"name":"333",
"phone":"15335153627",
"province":"140000000000",
"city":"140100000000",
"county":"140105000000",
"street":"140105004000",
"address":"就在旁边"
}
}
### 查找收货地址
POST {{test}}/wxTencent/queryAddress
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
}
}
### 根据id查找奖品信息
POST {{localhost}}/wxTencent/prizeById
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"prizeUserId":"1"
}
}
### 修改我的信息
POST {{localhost}}/wxTencent/updateUserInfo
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"name":"喵~~",
"smsCode":"123",
"phone":"15335153627"
}
}
### 查询我的信息
POST {{localhost}}/wxTencent/getUserInfo
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
}
}
### 查询用户奖品列表
POST {{localhost}}/wxTencent/queryPrize
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"equipmentId":"1"
}
}
### 查询行政区域
GET {{localhost}}/wxTencent/queryArea?parentCode=460100000000
{{type}}
4 years ago
3 years ago
### 生成公众号临时二维码
GET {{test_tall}}/wx/createQrCode?equipmentId=2
###
4 years ago
POST {{test}}/wxTencent/notice
###
4 years ago
POST {{test}}/wxTencent/notice
4 years ago
3 years ago
### 导入试题
3 years ago
POST {{localhost}}/brain/import
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Authorization: Bearer {{login.response.body.$.data.token}}
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="试题导入模板.xlsx"
Content-Type: xlsx
3 years ago
< C:\Users\dou\Desktop\新建 Microsoft Excel 工作表.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
4 years ago
### 轮播图查询
4 years ago
POST {{test}}/carousel/show
{{type}}
{
"param":{
"equipmentId":"1"
}
}
### 查询抽奖活动
3 years ago
POST {{localhost}}/raffle/active
4 years ago
{{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
}
}
### 抽奖
3 years ago
POST {{test}}/raffle/draw
4 years ago
{{type}}
3 years ago
# Authorization: Bearer {{login.response.body.$.data.token}}
{{test_token}}
4 years ago
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":{
3 years ago
"activeUserId":1518513017799843840,
"classifyId": 8
4 years ago
}
}
3 years ago
4 years ago
### 保存答案--图片定时回忆
POST {{localhost}}/brain/saveAnswer
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
3 years ago
"activeUserId":1519565879065714688,
4 years ago
"classifyId": 1,
"finishReason":2,
"questions":[
{
"questionId":1509013943610515456,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "1"
},
{
"operateTime": "1648622909781",
"content": "4"
}
]
}
]
}
}
### 保存答案--数字汉字交替排序连线
3 years ago
POST {{test}}/brain/saveAnswer
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
3 years ago
"activeUserId":1519565879065714688,
4 years ago
"classifyId": 2,
"finishReason":2,
"questions":[
{
3 years ago
"questionId":1517067589652848641,
"questionContent":"",
4 years ago
"timeAndOptions": [
{
"operateTime": "1648622908881",
3 years ago
"content": "1516948225180049409"
4 years ago
},
{
"operateTime": "1648622910781",
3 years ago
"content": "1516948225184243713"
4 years ago
},
{
"operateTime": "1648622911781",
3 years ago
"content": "1516948225188438017"
4 years ago
},
{
"operateTime": "1648622912781",
3 years ago
"content": "1516948225192632320"
4 years ago
},
{
"operateTime": "1648622913781",
3 years ago
"content": "1516948225192632322"
4 years ago
},
{
"operateTime": "1648622914781",
3 years ago
"content": "1516948225196826625"
4 years ago
},
{
"operateTime": "1648622915781",
3 years ago
"content": "1516948225201020928"
4 years ago
},
{
"operateTime": "1648622916781",
3 years ago
"content": "1516948225205215232"
4 years ago
},
{
"operateTime": "1648622917781",
3 years ago
"content": "1516948225209409536"
4 years ago
},
{
"operateTime": "1648622918781",
3 years ago
"content": "1516948225209409538"
4 years ago
}
]
}
]
}
}
### 保存答案--抽象分类
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":{
3 years ago
"activeUserId":1517424381792624640,
4 years ago
"classifyId": 6,
"finishReason":3,
"questions":[
{
3 years ago
"questionId":1517412800824352768,
4 years ago
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
3 years ago
"content": "1517386508267692033"
4 years ago
},{
"operateTime": "1648622908881",
3 years ago
"content": "1517386508276080640"
4 years ago
},{
"operateTime": "1648622908881",
3 years ago
"content": "1517386508288663552"
4 years ago
}
]
},{
3 years ago
"questionId":1517412800824352769,
4 years ago
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
3 years ago
"content": "1517386508229943297"
4 years ago
},{
"operateTime": "1648622908881",
3 years ago
"content": "1517386508238331904"
4 years ago
},{
"operateTime": "1648622908881",
3 years ago
"content": "1517386508246720513"
4 years ago
}
]
},{
3 years ago
"questionId":1517412800824352770,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "1517386508297052161"
},{
"operateTime": "1648622908881",
"content": "1517386508309635072"
},{
"operateTime": "1648622908881",
"content": "1517386508318023680"
}
]
}
,{
"questionId":1517412800824352771,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "1517386508469018624"
},{
"operateTime": "1648622908881",
"content": "1517386508393521153"
},{
"operateTime": "1648622908881",
"content": "1517386508439658496"
}
]
}
,{
"questionId":1517412800824352773,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "1517386508385132545"
},{
"operateTime": "1648622908881",
"content": "1517386508368355328"
},{
"operateTime": "1648622908881",
"content": "1517386508376743936"
}
]
}
,{
"questionId":1517412800824352774,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "1517386508586459136"
},{
"operateTime": "1648622908881",
"content": "1517386508573876224"
},{
"operateTime": "1648622908881",
"content": "1517386508590653441"
}
]
}
,{
"questionId":1517412800824352775,
4 years ago
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
3 years ago
"content": "1517386508498378753"
4 years ago
},{
"operateTime": "1648622908881",
3 years ago
"content": "1517386508527738881"
4 years ago
},{
"operateTime": "1648622908881",
3 years ago
"content": "1517386508485795840"
}
]
}
,{
"questionId":1517412800824352770,
"questionContent":null,
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "1517386508565487616"
},{
"operateTime": "1648622908881",
"content": "1517386508540321793"
},{
"operateTime": "1648622908881",
"content": "1517386508548710400"
4 years ago
}
]
}
]
}
}
### 保存答案--数字找茬
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":{
3 years ago
"activeUserId":1519324396781838336,
4 years ago
"classifyId": 8,
"finishReason":3,
"questions":[
{
3 years ago
"questionId":1518513017837592576,
4 years ago
"questionContent":"",
"timeAndOptions": [
{
"operateTime": "1648622908881",
"content": "96"
}
]
},{
"questionId":0,
"questionContent":"96-16",
"timeAndOptions": [
{
"operateTime": "1648622908881",
3 years ago
"content": ""
4 years ago
}
]
},{
"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
### 保存答案--不传答案
3 years ago
POST {{test}}/brain/saveAnswer
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
3 years ago
"activeUserId":1517054628276215808,
"classifyId": 1,
4 years ago
"finishReason":3,
"questions":[
3 years ago
{
"questionContent": null,
"questionId": "",
"timeAndOptions": []
}
4 years ago
]
}
}
4 years ago
### 查询认知筛查报告
3 years ago
POST {{test}}/brain/queryGrade
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
deviceId:1111
{
"param":{
3 years ago
"activeUserId":1519565879065714688
}
}
### 脑力测评排名
3 years ago
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
}
}