@test = https://test.tall.wiki/braintraining/v1.0 @www = https://www.tall.wiki/braintraining/v1.0 @localhost = http://localhost:7280/v1.0 @type = content-type: application/json;charset=utf-8 @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 ### 登录 # @name login POST {{test}}/users/signin {{type}} deviceId:1 { "client": 0, "type": 3, "data": { "identifier": "zy", "credential": "123456" } } ### 获取扫一扫权限参数 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 {{type}} { } ### 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}} ### 生成公众号临时二维码 GET {{test_tall}}/wx/createQrCode?equipmentId=2 ### POST {{test}}/wxTencent/notice ### POST {{test}}/wxTencent/notice ### 导入试题 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 < C:\Users\dou\Desktop\新建 Microsoft Excel 工作表.xlsx ------WebKitFormBoundary7MA4YWxkTrZu0gW-- ### 轮播图查询 POST {{test}}/carousel/show {{type}} { "param":{ "equipmentId":"1" } } ### 查询抽奖活动 POST {{localhost}}/raffle/active {{type}} Authorization: Bearer {{login.response.body.$.data.token}} { "param":{ "equipmentId":"1" } } ### 查询活动的中奖列表 POST {{localhost}}/raffle/prizeRecord {{type}} Authorization: Bearer {{login.response.body.$.data.token}} { "param":{ "activeId":"1", "pageNum":1, "pageSize":10 } } ### 抽奖 POST {{test}}/raffle/draw {{type}} # Authorization: Bearer {{login.response.body.$.data.token}} {{test_token}} deviceId:1111 { "param":{ "activeId":"1" } } ### 查询用户的中奖纪录 POST {{localhost}}/raffle/selfPrize {{type}} Authorization: Bearer {{login.response.body.$.data.token}} { "param":{ "pageNum":1, "pageSize":5 }, "userId":1481203617507840000 } ### 查询用户的中奖纪录 POST {{localhost}}/raffle/doTask {{type}} Authorization: Bearer {{login.response.body.$.data.token}} { "param":{ "taskId":1 } } ### 检查权限 POST {{localhost}}/raffle/checkTask {{type}} Authorization: Bearer {{login.response.body.$.data.token}} deviceId:1111 { "param":{ "taskId":1 } } ### 完成任务 POST {{localhost}}/raffle/doTask {{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 {{type}} Authorization: Bearer {{login.response.body.$.data.token}} deviceId:1111 { "param":{ "activeUserId":1518513017799843840, "classifyId": 8 } } ### 保存答案--图片定时回忆 POST {{localhost}}/brain/saveAnswer {{type}} Authorization: Bearer {{login.response.body.$.data.token}} deviceId:1111 { "param":{ "activeUserId":1519565879065714688, "classifyId": 1, "finishReason":2, "questions":[ { "questionId":1509013943610515456, "questionContent":null, "timeAndOptions": [ { "operateTime": "1648622908881", "content": "1" }, { "operateTime": "1648622909781", "content": "4" } ] } ] } } ### 保存答案--数字汉字交替排序连线 POST {{test}}/brain/saveAnswer {{type}} Authorization: Bearer {{login.response.body.$.data.token}} deviceId:1111 { "param":{ "activeUserId":1519565879065714688, "classifyId": 2, "finishReason":2, "questions":[ { "questionId":1517067589652848641, "questionContent":"", "timeAndOptions": [ { "operateTime": "1648622908881", "content": "1516948225180049409" }, { "operateTime": "1648622910781", "content": "1516948225184243713" }, { "operateTime": "1648622911781", "content": "1516948225188438017" }, { "operateTime": "1648622912781", "content": "1516948225192632320" }, { "operateTime": "1648622913781", "content": "1516948225192632322" }, { "operateTime": "1648622914781", "content": "1516948225196826625" }, { "operateTime": "1648622915781", "content": "1516948225201020928" }, { "operateTime": "1648622916781", "content": "1516948225205215232" }, { "operateTime": "1648622917781", "content": "1516948225209409536" }, { "operateTime": "1648622918781", "content": "1516948225209409538" } ] } ] } } ### 保存答案--抽象分类 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":1517424381792624640, "classifyId": 6, "finishReason":3, "questions":[ { "questionId":1517412800824352768, "questionContent":null, "timeAndOptions": [ { "operateTime": "1648622908881", "content": "1517386508267692033" },{ "operateTime": "1648622908881", "content": "1517386508276080640" },{ "operateTime": "1648622908881", "content": "1517386508288663552" } ] },{ "questionId":1517412800824352769, "questionContent":null, "timeAndOptions": [ { "operateTime": "1648622908881", "content": "1517386508229943297" },{ "operateTime": "1648622908881", "content": "1517386508238331904" },{ "operateTime": "1648622908881", "content": "1517386508246720513" } ] },{ "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, "questionContent":null, "timeAndOptions": [ { "operateTime": "1648622908881", "content": "1517386508498378753" },{ "operateTime": "1648622908881", "content": "1517386508527738881" },{ "operateTime": "1648622908881", "content": "1517386508485795840" } ] } ,{ "questionId":1517412800824352770, "questionContent":null, "timeAndOptions": [ { "operateTime": "1648622908881", "content": "1517386508565487616" },{ "operateTime": "1648622908881", "content": "1517386508540321793" },{ "operateTime": "1648622908881", "content": "1517386508548710400" } ] } ] } } ### 保存答案--数字找茬 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":1519324396781838336, "classifyId": 8, "finishReason":3, "questions":[ { "questionId":1518513017837592576, "questionContent":"", "timeAndOptions": [ { "operateTime": "1648622908881", "content": "96" } ] },{ "questionId":0, "questionContent":"96-16", "timeAndOptions": [ { "operateTime": "1648622908881", "content": "" } ] },{ "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" } ] } ] } } ### 保存答案--不传答案 POST {{test}}/brain/saveAnswer {{type}} Authorization: Bearer {{login.response.body.$.data.token}} deviceId:1111 { "param":{ "activeUserId":1517054628276215808, "classifyId": 1, "finishReason":3, "questions":[ { "questionContent": null, "questionId": "", "timeAndOptions": [] } ] } } ### 查询认知筛查报告 POST {{test}}/brain/queryGrade {{type}} Authorization: Bearer {{login.response.body.$.data.token}} deviceId:1111 { "param":{ "activeUserId":1519565879065714688 } } ### 脑力测评排名 POST {{localhost}}/brain/rank {{type}} Authorization: Bearer {{login.response.body.$.data.token}} deviceId:1111 { "param":{ "equipmentId":1, "levelSeveral":10 } } ### 查询有无关注公众号 POST http://101.201.226.163/gateway/ptostall/wx/officialId {{type}} Authorization:Bearer eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NDc1MDg3NDEsInN1YiI6IjE0ODEyMDM2MTc1MDc4NDAwMDAiLCJhdXRoSWQiOiIxNDgxMjAzNjE3ODc2OTM4NzUzIiwiZXhwIjoxNjQ3NTE1OTQxfQ.EJcB5PH29--te6emuP6iNXPKNxwk7zRHQ-dNfqZCKMo deviceId:1111 { "param":{ "appId":1 } }