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.

145 lines
2.5 KiB

@test = https://test.tall.wiki/delivery/v1.0
@www = https://www.tall.wiki/delivery/v1.0
@localhost = http://localhost:7340/v1.0
@type = content-type: application/json;charset=utf-8
### debug
GET {{localhost}}/debug
###
# @name login
POST {{test}}/users/signin
{{type}}
{
"client": 0,
"type": 3,
"data": {
"identifier": "admin",
"credential": "123456"
}
}
###
POST {{localhost}}/stu/export
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"name":"",
"stuNum":"",
"collegeId":"",
"dormitoryId":[],
"address":"",
"symptom":"",
"drugName":"",
"broken":"",
"status":"",
"startTime":"",
"endTime":""
}
}
###
POST {{test}}/stu/status
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"status":0,
"orderIdList":[
1512703641465921536,
1512703868751060992
]
}
}
###
POST {{localhost}}/stu/back/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"name":"",
"stuNum":"",
"collegeId":"",
"dormitoryId":null,
"address":"",
"symptom":"",
"drugName":"",
"broken":"",
"status":"",
"startTime":"",
"endTime":""
}
}
###
POST {{test}}/stu/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"status":0
}
}
###
POST {{www}}/stu/submit
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"name":"2",
"stuNum":"1234567890000",
"phone":"15335153515",
"idCard":"684616465350655",
"collegeId":"1512738866191409152",
"dormitoryId":"1512738868900929536",
"address":"351",
"symptom":"",
"broken":"",
"remark":"",
"planTime":"1649491388787",
"orderItemList":[
{
"name":"",
"specification":"10kg",
"num":2
},
{
"name":"",
"specification":"100kg",
"num":4
}
]
}
}
### 宿
POST {{www}}/stu/area
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"name":"",
"type":"1"
}
}
###
POST {{www}}/users/update
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"nickname":""
}
}