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.

294 lines
5.3 KiB

###
@www = https://www.tall.wiki/gateway
@test = http://test.tall.wiki/gateway/
@loaclhost = http://localhost:
@sd = https://sd.tall.wiki/gateway
@type = content-type: application/json;charset=utf-8
@tallLocal = 7030/v1.0
@tall = /tall/v1.0
@oreLocal = 7140
@beneficiation = /beneficiation
### login
# @name login
POST {{loaclhost}}{{tallLocal}}/users/signin
# POST http://www.sxwikionline.com/gateway{{tall}}/users/signin
# POST {{test}}{{tall}}/users/signin
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "zy11"
},
"scene": 0,
"type": 3
}
###
# POST {{test}}{{beneficiation}}/parameter/update
POST {{loaclhost}}{{oreLocal}}/parameter/update
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"solenoidValue1":{
"id":3,
"settingValue":15
}
}
}
###
GET {{loaclhost}}{{oreLocal}}/debug
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"dateType":0,
"equipmentId":1
}
}
###
POST {{test}}{{beneficiation}}/parameter/query
# POST {{loaclhost}}{{oreLocal}}/parameter/update
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"electricEar1":{
"id":"1",
"thresholdValue1":{
"minValue":"13",
"maxValue":"19"
},
"thresholdValue2":{
"minValue":"13",
"maxValue":"19"
},
"thresholdValue3":{
"minValue":"13",
"maxValue":"19"
}
},
"electricEar2":{
"id":"2",
"thresholdValue1":{
"minValue":"13",
"maxValue":"19"
},
"thresholdValue2":{
"minValue":"13",
"maxValue":"19"
},
"thresholdValue3":{
"minValue":"13",
"maxValue":"19"
}
},
"solenoidValue1":{
"id":"3",
"settingValue":"15"
},
"solenoidValue2":{
"id":"4",
"settingValue":"15"
},
"transducer1":{
"id":"8",
"settingValue":"15"
},
"transducer2":{
"id":"9",
"settingValue":"15"
},
"transducer3":{
"id":"10",
"settingValue":"15"
},
"transducer4":{
"id":"11",
"settingValue":"15"
}
}
}
###
# POST {{test}}{{beneficiation}}/parameter/query
POST {{loaclhost}}{{oreLocal}}/parameter/update
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"electricEar1":{
"id":"1",
"thresholdValue1":{
"minValue":"13",
"maxValue":"19"
},
"thresholdValue2":{
"minValue":"13",
"maxValue":"19"
},
"thresholdValue3":{
"minValue":"13",
"maxValue":"19"
}
},
"electricEar2":{
"id":"2",
"thresholdValue1":{
"minValue":"13",
"maxValue":"19"
},
"thresholdValue2":{
"minValue":"13",
"maxValue":"19"
},
"thresholdValue3":{
"minValue":"13",
"maxValue":"19"
}
}
}
}
###
POST {{test}}{{beneficiation}}/weight/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"dateType":0,
"equipmentId":1
}
}
###
POST {{loaclhost}}{{oreLocal}}/weight/total
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"datetime":"2021-12-07"
}
}
###
# POST http://test.tall.wiki/gateway/ht/exportReport
POST http://localhost:7040/exportReport
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":"1352975850328428544",
"rey":2
}
}
###
# POST https://test.tall.wiki/gateway/ht/saveScore
POST http://localhost:7040/saveScore
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"patientReportId":"1354973350681776128",
"questionId":"1207564330107801600",
"options":[
{
"id":1207564330132967424
},
{
"id":1207564330137161730
},
{
"id":1207564330149744641
}
]
}
}
###
# POST http://test.tall.wiki/gateway/ht/exportReport
POST http://localhost:7150/import/updateRedis
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
###
# POST http://test.tall.wiki/gateway/ht/exportReport
GET http://localhost:7150/question/queryAll
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
###
POST {{loaclhost}}{{oreLocal}}/parameter/query
# POST {{loaclhost}}7140/parameter/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
###
POST {{test}}{{beneficiation}}/parameter/update
# POST {{loaclhost}}7140/parameter/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
###
# POST http://www.sxwikionline.com/gateway/greenvalley/page/list
POST http://www.sxwikionline.com/gateway/greenvalley/page/update
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":44,
"titleCode":"--ttt",
"queryMethod":1,
"sort":1,
"col":2
}
}