Commit 507b53ba by lichaogang

add isNacked property for vision data

parent 2808cb1e
......@@ -25,6 +25,7 @@ API请求参数
leftEye {float} 左眼视力 3.8-5.3
rightEye {float} 右眼视力 3.8-5.3
distance {int} 3米或5米
isNaked {int} 1:裸眼测试 0:带镜测试
testTime {int}
classId {int} 班级ID
......
......@@ -32,7 +32,7 @@ API请求参数
-H "X-DeviceInformation: 11%2f22%2f96" \
-H "X-Sign: qM2Ep2wGF5xCJMerRVxtzciuWi8xrjgLkhNpvV2zNLF/Rv/Rf9FF3XwsIF/BOHFPEtwbmGNX57fkdzTEriDTZaCJ566PbNy7eklZ21GdAXSsrpY6Yl6YfRqSFCJbzatB0tCAKkMkHaizJ+5g05PklCo6833E9x8VZZ8g1mf4oXg=" \
-H "Content-Type: application/json" \
-d '[{"dataId":"7a2adcb0-9408-11e9-ad5f-32001713d001","studentId":549,"leftEye":3.0,"rightEye":3.2,"testType":0,"distance":3,"testTime":1561113665},{"dataId":"7a2adcb0-9408-11e9-ad5f-32001713d004","studentId":549,"leftEye":3.0,"rightEye":3.2,"testType":0,"distance":3,"testTime":1561113665},{"dataId":"7a2adcb0-9408-11e9-ad5f-32001713d002","studentId":549,"leftEye":3.0,"rightEye":3.2,"testType":0,"distance":3,"testTime":1561113665}]' \
-d '[{"dataId":"7a2adcb0-9408-11e9-ad5f-32001713d001","studentId":549,"leftEye":3.0,"rightEye":3.2,"testType":0,"distance":3,"isNaked":1,"testTime":1561113665},{"dataId":"7a2adcb0-9408-11e9-ad5f-32001713d004","studentId":549,"leftEye":3.0,"rightEye":3.2,"testType":0,"distance":3,"isNaked":1,"testTime":1561113665},{"dataId":"7a2adcb0-9408-11e9-ad5f-32001713d002","studentId":549,"leftEye":3.0,"rightEye":3.2,"testType":0,"distance":3,"isNaked":1,"testTime":1561113665}]' \
http://localhost:8080/v1/batch_upload_vision_data
**Output**
......
......@@ -13,7 +13,7 @@
API请求参数
enrollmentYear {String} 年级入学年份
className {String} 班级名称,一班:1 二班:2
phone {String} 班主任手机
### Head
......
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