Commit febf2af2 by lichaogang

moidfy get terminal qrcode add qrCodeUrl for data result

parent 76082bbd
......@@ -38,5 +38,7 @@ API请求参数
{
"code": "200",
"msg": "success",
"data": "http://weixin.qq.com/q/02payj9BJ4f2h1efGpNt1a"
"data": {
qrCodeUrl:"http://weixin.qq.com/q/02payj9BJ4f2h1efGpNt1a"
}
}
\ No newline at end of file
......@@ -37,17 +37,14 @@ cmd 上传命令
**Output**
{
"data": {
"list":[
{
"cmdId":1111
"cmd": "backup",
"params": "2019.6",
"cmdTime":18910265201,
}
],
"serverTime":18910265201,
},
"data": [
{
"cmdId":1111
"cmd": "backup",
"params": "2019.6",
"cmdTime":18910265201,
}
],
"errno": 200,
"msg": "success"
}
\ No newline at end of file
......@@ -43,10 +43,11 @@ sign = "U4w3+V6aufbsYFHb5jJRwwpV2TbUftLYYJmPUilnv1P/p0RIJs1D86WJaTXPO5aq"
curl -X POST \
-H "X-LoginType: partner" \
-H "X-DeviceInformation: 1122" \
-H "X-Sign: U4w3+V6aufbsYFHb5jJRwwpV2TbUftLYYJmPUilnv1P/p0RIJs1D86WJaTXPO5aq" \
-H "X-AppKey: 9de1f320964a11e9ad5f32001713d000" \
-H "X-Sign: tna8CtdlphD7RcgwXYHWsQ==" \
-d '[{"dataId":"d7006674-9658-11e9-ad5f-32001713d000","studentId":111, "height":170, "weight": 70, "addTime":1561363166},
{"dataId":"d7006674-9658-11e9-ad5f-32001713d001","studentId":222, "height":180, "weight": 80, "addTime":1561363166}
]'
]' \
http://localhost:8080/partner/upload_examination_data
**Output**
......
......@@ -32,9 +32,11 @@ API请求参数
**Command**
curl -X GET \
-H "X-DeviceInformation: 11222" \
-H "X-Sign: U4w3+V6aufbsYFHb5jJRwwpV2TbUftLYYJmPUilnv1P/p0RIJs1D86WJaTXPO5aq" \
http://localhost:8080/partner/get_student_list?limit=3&page=1
-H "X-LoginType: partner" \
-H "X-DeviceInformation: 1122" \
-H "X-AppKey: 9de1f320964a11e9ad5f32001713d000" \
-H "X-Sign: tna8CtdlphD7RcgwXYHWsQ==" \
https://t.api.test.iouou.cn/partner/get_student_list?limit=3&page=1
**Output**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment