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.

186 lines
3.5 KiB

@localhost = http://localhost:7230/v3.0
@localhostTall = http://localhost:7030/v1.0
@www = https://www.tall.wiki/gateway/qcp/v3.0
@wwwTall = https://www.tall.wiki/gateway/tall/v1.0
@type = content-type: application/json;charset=utf-8
### login
# @name login
POST {{wwwTall}}/users/signin
{{type}}
{
"client": 1,
"data": {
"credential": "1234567",
"identifier": "mazhuang"
},
"scene": 0,
"type": 3
}
###
POST {{localhost}}/statistical/step
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"projectId": "1"
}
}
###
POST {{localhost}}/statistical/queryQuality
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"startTime": 0,
"endTime": 0,
"type": 1
}
}
###
POST {{localhost}}/statistical/queryQuality/everyday
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
###
POST {{localhost}}/car/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
###
POST {{localhost}}/car/bind
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"carId": 1212,
"projectId": 1420308599896547328
}
}
###
POST {{localhost}}/debug/record
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"authId": 145,
"type": 2,
"value": "32",
"time":1627551651000
}
}
### code
POST http://www.tall.wiki/gateway/qcp/v3.0/patient/aidRecord
# POST http://127.0.0.1:7230/v3.0/patient/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"1420652719055839232",
"type":0,
"codeAndAnswerList":[
{
"questionCode":"sss",
"answer":"dd"
}
]
}
}
//Excel
### WBS
# POST {{www}}qcp/v3.0/wbs
# POST {{loaclhost}}{{tallLocal}}/projects/wbs
POST http://127.0.0.1:7230/v3.0/wbs
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Authorization: Bearer {{login.response.body.$.data.token}}
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="param"; filename="V2.0 QCP_WBS 20210725.xls"
Content-Type: xlsx
< C:\Users\dou\Desktop\V2.0 QCP_WBS 20210725.xls
------WebKitFormBoundary7MA4YWxkTrZu0gW--
//Excel
### Code
POST {{www}}/dictionaries/importCode
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Authorization: Bearer {{login.response.body.$.data.token}}
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="param"; filename="code.xlsx"
Content-Type: xlsx
< C:\Users\23778\Downloads\code.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
###
POST http://www.tall.wiki/gateway/qcp/v3.0/patient/query
# POST http://127.0.0.1:7230/v3.0/patient/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"type":0
}
}
###
POST http://www.tall.wiki/gateway/qcp/v3.0/patient/queryAidRecord
# POST http://127.0.0.1:7230/v3.0/patient/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"type":0
}
}
###
POST http://www.tall.wiki/gateway/qcp/v3.0/patient/sandClock
# POST http://127.0.0.1:7230/v3.0/patient/sandClock
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1420652719055839232
}
}