Browse Source

平车测试

master
zhizhi wu 5 years ago
parent
commit
947cd2af61
  1. 17
      HT/认知.http
  2. 18
      tall/project/project.http
  3. 85
      智慧平车/智慧平车接口测试.http

17
HT/认知.http

@ -19,7 +19,7 @@
### login
# @name login
# POST {{sd_tall}}/users/signin
POST {{localhost_tall}}/users/signin
POST {{test_tall}}/users/signin
{{type}}
{
@ -195,28 +195,27 @@ Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 导入类型
POST {{sd_ht}}/importReportType
POST {{test_ht}}/importReportType
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\1.xlsx"
Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\导入数据2021-06-03.xlsx"
# Content-Type: image/png
< C:\Users\23778\Downloads\1.xlsx
< C:\Users\23778\Downloads\导入数据2021-06-03.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### BNT LFT DST
### 导入指定测评
POST {{localhost_ht}}/importEvaluation?code=AVLT
POST {{sd_ht}}/importEvaluation?code=AVLT
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="< C:\Users\dou\Desktop\导入数据(3)(1).xlsx
"
Content-Disposition: form-data; name="file"; filename="< C:\Users\23778\Downloads\导入数据2021-06-03.xlsx"
# Content-Type: image/png
< C:\Users\dou\Desktop\导入数据(3)(1).xlsx
< C:\Users\23778\Downloads\导入数据2021-06-03.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--

18
tall/project/project.http

@ -7,15 +7,15 @@
### 登录
# @name login
POST {{test}}/users/signin
# POST http://localhost:7030/v1.0/users/signin
# POST {{test}}/users/signin
POST http://localhost:7030/v1.0/users/signin
{{type}}
{
"client": 1,
"type": 3,
"data": {
"identifier": "zy11",
"identifier": "mazhuang",
"credential": "123456"
}
}
@ -273,3 +273,15 @@ Authorization: Bearer {{login.response.body.$.data.token}}
"startTime":"",
"endTime":""
}
### 复制任务
POST {{localhost}}/projects/copyProject
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1399649478197252096
}
}

85
智慧平车/智慧平车接口测试.http

@ -7,15 +7,16 @@
@localhost = http://localhost:7170/v1.0
@localhostTall = http://localhost:7030/v1.0
@localhostCar = http://localhost:7120
@testTall = http://192.168.4.113/gateway/tall/v1.0
@testWisdomCar = http://192.168.4.113/gateway/wisdomcar
@testTall = http://test.tall.wiki/gateway/tall/v1.0
@testWisdomCar = http://test.tall.wiki/gateway/wisdomcar
@wwww = https://www.tall.wiki/gateway/tall/v1.0
### login
# @name login
POST {{localhostTall}}/users/signin
# POST {{testTall}}/users/signin
# POST http://localhost:7030/v1.0/users/signin
POST {{testTall}}/users/signin
{{type}}
{
@ -30,7 +31,7 @@ POST {{localhostTall}}/users/signin
#创建病例
###
POST http://localhost:7120/car/createCase
POST http://192.168.4.113:7120/car/createCase
# POST {{www}}mbps/selAllMbps
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
@ -44,6 +45,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
}
#测试
###F
POST http://localhost:7120/statistics/get/selResult
@ -69,13 +71,13 @@ Authorization: Bearer {{login.response.body.$.data.token}}
}
### 查询称重和剂量
POST {{localhostCar}}/project/weight
POST {{testWisdomCar}}/project/weight
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"taskSubId":1
"taskSubId":1400078243696087040
}
}
@ -86,6 +88,73 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"taskSubId":1
"taskSubId":1400297473502744576
}
}
### 绑定平车
POST {{testWisdomCar}}/car/bindingCar
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"carId":1,
"taskSubId":1400297464451436544,
"projectId":1400297453957287936,
"startTime": 1622728712665,
"endTime": 0
}
}
}
### 查询开始时间
POST {{testWisdomCar}}/project/getStartTime
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"taskSubId":1400297475818000384
}
}
### 图像识别
POST {{testWisdomCar}}/project/identifyWords
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="part"; filename="< C:\Users\23778\Desktop\zhangbin\1.png"
Content-Type: image/png
< C:\Users\23778\Desktop\zhangbin\1.png
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 查询进度
POST https://www.tall.wiki/gateway/wisdomcar2/statistics/getPointTime
{{type}}
# Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"id":0
}
}
### 发送消息
POST https://www.tall.wiki/gateway/wisdomcar2/debug/record
{{type}}
# 开始
{
"param" : {
"authId": "146",
"type": "2",
"value": "13",
"time": 1622870741758
}
}

Loading…
Cancel
Save