|
|
|
@ -1,7 +1,10 @@ |
|
|
|
@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 |
|
|
|
@ -12,11 +15,32 @@ POST {{test}}/users/signin |
|
|
|
"client": 0, |
|
|
|
"type": 3, |
|
|
|
"data": { |
|
|
|
"identifier": "zy", |
|
|
|
"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}} |
|
|
|
@ -33,7 +57,7 @@ Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
} |
|
|
|
|
|
|
|
### 分页查找所有订单信息 |
|
|
|
POST {{test}}/stu/back/query |
|
|
|
POST {{localhost}}/stu/back/query |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
@ -42,7 +66,7 @@ Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
"name":"", |
|
|
|
"stuNum":"", |
|
|
|
"collegeId":"", |
|
|
|
"dormitoryId":"", |
|
|
|
"dormitoryId":null, |
|
|
|
"address":"", |
|
|
|
"symptom":"", |
|
|
|
"drugName":"", |
|
|
|
@ -65,7 +89,7 @@ Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
} |
|
|
|
|
|
|
|
### 提交订单 |
|
|
|
POST {{test}}/stu/submit |
|
|
|
POST {{www}}/stu/submit |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
@ -75,10 +99,10 @@ Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
"stuNum":"1234567890000", |
|
|
|
"phone":"15335153515", |
|
|
|
"idCard":"684616465350655", |
|
|
|
"collegeId":"2", |
|
|
|
"dormitoryId":"4", |
|
|
|
"address":"不知道", |
|
|
|
"symptom":"贼难受", |
|
|
|
"collegeId":"1512738866191409152", |
|
|
|
"dormitoryId":"1512738868900929536", |
|
|
|
"address":"351", |
|
|
|
"symptom":"难受", |
|
|
|
"broken":"", |
|
|
|
"remark":"", |
|
|
|
"planTime":"1649491388787", |
|
|
|
@ -98,19 +122,19 @@ Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
} |
|
|
|
|
|
|
|
### 查找学员或宿舍 |
|
|
|
POST {{test}}/stu/area |
|
|
|
POST {{www}}/stu/area |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
{ |
|
|
|
"param":{ |
|
|
|
"name":"1", |
|
|
|
"type":"0" |
|
|
|
"name":"令", |
|
|
|
"type":"1" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
### 更新用户信息 |
|
|
|
POST {{test}}/users/update |
|
|
|
POST {{www}}/users/update |
|
|
|
{{type}} |
|
|
|
Authorization: Bearer {{login.response.body.$.data.token}} |
|
|
|
|
|
|
|
|