获取key值
登录系统并进入个人中心
查看key值并保存
HOST
https://yongan.frps.huihangiot.com
批量-通过瓶号获取制造信息
API
/api/cylinderBindInfo/open
METHOD
POST
HEADER
content-type: application/json
BODY
RESPONSE
访问成功
返回json格式的数据对象
http status:200
{
"result": [ // 查询到的结果,数据类型为json array
{
"cydaFormImage": "/upload/2021-05-26/other/xsjyzs2195104309m5B7.jpeg",
"cydaId": 15309683,
"cydaMaterial": "37Mn",
"cydaMedium": "氩气",
"cydaNominalPressure": "15",
"cydaNumber": "226245390487",
"cydaProductionMonth": "7",
"cydaProductionYear": "2024",
"cydaVolume": 40.3,
"cydaWallThickness": 5.0,
"cydaWeight": 42.8
},
{
"cydaFormImage": "/upload/2021-05-26/other/xsjyzs2195104309m5B7.jpeg",
"cydaId": 15309694,
"cydaMaterial": "37Mn",
"cydaMedium": "氩气",
"cydaNominalPressure": "15",
"cydaNumber": "226245390498",
"cydaProductionMonth": "7",
"cydaProductionYear": "2024",
"cydaVolume": 40.3,
"cydaWallThickness": 5.0,
"cydaWeight": 43.0
}
],
"noResult": [ // 未查询到的结果,数据类型为字符串数组
"226245390502"
]
}
说明:
接口支持批量查询,返回结果中,包含已查询到的数据和没有数据的瓶号。如果没查询到信息有两种可能:
该瓶号没有录入到制造信息系统中
该瓶号不属于您,没有权限进行查询
单个-通过二维码获取制造信息
API
/api/cylinderBindInfo/open
METHOD
GET
PARAMS
说明
直接将qrcode和key值使用urlencode方法编码后进行访问
形如:/api/cylinderBindInfo/open?key=xxxxxxxxx&qrcode=xxxxxxxxxx
评论区