Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
aidapidesign
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
document
aidapidesign
Commits
ba3b7a26
Commit
ba3b7a26
authored
Nov 14, 2019
by
lichaogang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor api for new version
parent
9b90a134
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
99 additions
and
369 deletions
+99
-369
01_login.md
idapidesign/v1/app/01_login.md
+34
-13
03_upload_vision_data.md
idapidesign/v1/app/03_upload_vision_data.md
+5
-3
04_batch_upload_vision_data.md
idapidesign/v1/app/04_batch_upload_vision_data.md
+5
-4
05_vision_terminal_active.md
idapidesign/v1/app/05_vision_terminal_active.md
+0
-68
06_subscribe_jpush.md
idapidesign/v1/app/06_subscribe_jpush.md
+0
-49
07_vision_terminal_unbind.md
idapidesign/v1/app/07_vision_terminal_unbind.md
+0
-45
08_get_school_class_list.md
idapidesign/v1/app/08_get_school_class_list.md
+2
-2
10_get_student_list.md
idapidesign/v1/app/10_get_student_list.md
+5
-9
11_get_student_latest_visions.md
idapidesign/v1/app/11_get_student_latest_visions.md
+2
-2
12_get_student_visions.md
idapidesign/v1/app/12_get_student_visions.md
+2
-2
13_get_ad.md
idapidesign/v1/app/13_get_ad.md
+0
-54
14_get_terminal_qrcode.md
idapidesign/v1/app/14_get_terminal_qrcode.md
+0
-45
16_terminal_upload_file.md
idapidesign/v1/app/16_terminal_upload_file.md
+2
-2
17_student_search.md
idapidesign/v1/app/17_student_search.md
+2
-2
18_sync_visions.md
idapidesign/v1/app/18_sync_visions.md
+2
-2
20_upload_shop_vision_data.md
idapidesign/v1/app/20_upload_shop_vision_data.md
+0
-53
21_append_backup_data.md
idapidesign/v1/app/21_append_backup_data.md
+2
-2
22_get_backup_data.md
idapidesign/v1/app/22_get_backup_data.md
+2
-2
23_upload_diopter_data.md
idapidesign/v1/app/23_upload_diopter_data.md
+14
-4
24_batch_upload_diopter_data.md
idapidesign/v1/app/24_batch_upload_diopter_data.md
+2
-2
25_upload_cornea_data.md
idapidesign/v1/app/25_upload_cornea_data.md
+2
-2
26_batch_upload_cornea_data.md
idapidesign/v1/app/26_batch_upload_cornea_data.md
+2
-2
04_get_student_archive.md
idapidesign/v1/partner/04_get_student_archive.md
+13
-0
08_get_student_info.md
idapidesign/v1/partner/08_get_student_info.md
+1
-0
No files found.
idapidesign/v1/app/01_login.md
View file @
ba3b7a26
...
...
@@ -17,14 +17,14 @@ API请求参数
### Head
X-LoginType {String} 登录方式
X-
Sign {String}* 签名信息, 客户端用公钥加密字符串: {deviceSN}\n{activeName}\n{timestamp
}
X-
DeviceInformation {String}* 设备信息, 格式为: {osName}/{osVersion}/{appVersion}/{deviceSN}/{activeName}
X-
DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{deviceSN}/{orgID
}
X-
Sign {String} rsa(timestamp_username) 加密
### Form Parameters
activeAccount
{String}
activeCode
{String}
username
{String}
password
{String}
location {String}
## Response
...
...
@@ -34,22 +34,43 @@ API请求参数
**Command**
##### Android
curl -X POST \
-H "X-WS-LoginType: School" \
-H "X-WS-Sign: csqQ4FKqnCmKDNoeHZu9lDkh7zxkKjXB2oQQhXV8WJwlIwIIgXZ1h8SDXNfZz3cRKJZW/5X8ZQYturQIk07qJ17+zBk4OhoaRLM27MbRQX6j/fzZ+82q/6q1qWswxCqcKnm/rKpIqH4/4s8CAgnBw+ZNKPcEN5rVaSLj88FYzpM=" \
-H "X-DeviceInformation: Android%2F5.0%2F4.8%2Fxxxxx%2FtestName" \
-H "X-DeviceInformation: ooadmin/v1.1/5ebfdbca1a5d4dbd4a6cc8e835276779" \
-H "X-ChannelId: YS_P03_KARAMAY" \
-H "X-Sign: siX++d9tc3qrGgI9HKfscXGpabC9M/Wa8xEQU/rjWnMaxKCG/kCQBNlnaXrP8/0mt2XnlGMs/p/KX2jo3yVpQijFaupMtWeGuN2YtRVQWRa3tG53npMUttU5SjQWGa4UAOdxV7V8FLvm0DvO47zxC4puCcbGTbljH0q7BkADYGc=" \
-d "username=qrc240pDUO69WsN23x%2flcps1M%2fydVX9pjbhOXVzuX9pqp5LMG8llkMhRWhC4M3kAOqH0EXX2w4bcHA0VpvnIEEKvevThh6A1QJq4rN46WU88yX3TXD7%2bKEJMnomWaQlMKmNW%2fm0RFd7PGZoN%2bribYrCgCEUR6WNpDRyaxsKfXEY%3d&password=qrc240pDUO69WsN23x%2flcps1M%2fydVX9pjbhOXVzuX9pqp5LMG8llkMhRWhC4M3kAOqH0EXX2w4bcHA0VpvnIEEKvevThh6A1QJq4rN46WU88yX3TXD7%2bKEJMnomWaQlMKmNW%2fm0RFd7PGZoN%2bribYrCgCEUR6WNpDRyaxsKfXEY%3d" \
http://localhost:8080/v1/login
**Output**
{
"data": {
"accessToken": "30932365e4a5440848fb8726a4bb47a7",
"expiredIn": 7200,
"refreshToken": "f8a03e9322d8400e5305d88a3a776b4b",
"refreshTokenExpiredIn": 2592000
"userId":122222222
"username": "testuser",
"title": "张飞",
"canUpload": 1,
"orgName": "东小口社区医院",
"planList":[
{
"planId":1,
"planName": "广西南宁2019年上学期学生视力筛查",
"startDate": 1569859200,
"endDate": 1569859200,
camps:[
{
"campId": 1111199999999999,
"campName": "北京朝阳实验小学",
"status": 1,
},
{
"campId": 1111199999999999,
"campName": "北京朝阳实验小学",
"status": 1,
}
],
},
],
},
"errno": 200,
"msg": "success"
...
...
idapidesign/v1/app/03_upload_vision_data.md
View file @
ba3b7a26
...
...
@@ -6,7 +6,8 @@
## 接口定义
/v1/upload_vision_data
/v1/upload_vision_data 正测
/v1/upload_vision_data/repeat 复测
POST
## Request
...
...
@@ -15,12 +16,13 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String} rsa(timestamp) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String} rsa(timestamp
_userId
) 加密
### Form Parameters
dataId {String} 唯一ID ,由Android端生成
planId {int} 计划ID
studentId {int} 学生ID
leftEye {float} 左眼视力 3.8-5.3
rightEye {float} 右眼视力 3.8-5.3
...
...
idapidesign/v1/app/04_batch_upload_vision_data.md
View file @
ba3b7a26
...
...
@@ -6,7 +6,8 @@
## 接口定义
/v1/batch_upload_vision_data
/v1/batch_upload_vision_data 正测
/v1/batch_upload_vision_data/repeat 复测
POST
## Request
...
...
@@ -15,12 +16,12 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String} rsa(timestamp) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String} rsa(timestamp
_userId
) 加密
### Form Parameters
[{"uuid":"1DE5CAAA-DB46-419A-8162-EC853DAEA5CF","studentId":"1111","leftEye":1.0,"rightEye":1.2,"testType":1,"distance":3,"testTime":1560426091,"classId":1111}]
[{"uuid":"1DE5CAAA-DB46-419A-8162-EC853DAEA5CF","studentId":"1111","leftEye":1.0,"rightEye":1.2,"
leftOffset":1,"rightOffset":1,"isNaked":1,"
testType":1,"distance":3,"testTime":1560426091,"classId":1111}]
## Response
...
...
idapidesign/v1/app/05_vision_terminal_active.md
deleted
100644 → 0
View file @
9b90a134
# 激活设备
设备与机构进行绑定
## 修改记录
## 接口定义
/v1/vision_terminal_active
POST
## Request
API请求参数
### Head
X-ChannelId {String} 渠道ID
### Form Parameters
activeAccount {String} RSA加密
activeCode {String} RSA加密
deviceSn {String}
location {String}
## Response
testType : ,1:学校模式、2:商城模式、3:海航模式 4:趋光模式
qrCodeCallbackUrl: 测试结果扫码后调用地址,如果为空就用默认的
### Example
**Command**
curl -X POST \
-H "X-DeviceInformation: ooadmin/v1.1/5ebfdbca1a5d4dbd4a6cc8e835276779" \
-H "X-ChannelId: YS_P03_KARAMAY" \
-H "X-Sign: siX++d9tc3qrGgI9HKfscXGpabC9M/Wa8xEQU/rjWnMaxKCG/kCQBNlnaXrP8/0mt2XnlGMs/p/KX2jo3yVpQijFaupMtWeGuN2YtRVQWRa3tG53npMUttU5SjQWGa4UAOdxV7V8FLvm0DvO47zxC4puCcbGTbljH0q7BkADYGc=" \
-d "activeAccount=qrc240pDUO69WsN23x%2flcps1M%2fydVX9pjbhOXVzuX9pqp5LMG8llkMhRWhC4M3kAOqH0EXX2w4bcHA0VpvnIEEKvevThh6A1QJq4rN46WU88yX3TXD7%2bKEJMnomWaQlMKmNW%2fm0RFd7PGZoN%2bribYrCgCEUR6WNpDRyaxsKfXEY%3d&activeCode=qrc240pDUO69WsN23x%2flcps1M%2fydVX9pjbhOXVzuX9pqp5LMG8llkMhRWhC4M3kAOqH0EXX2w4bcHA0VpvnIEEKvevThh6A1QJq4rN46WU88yX3TXD7%2bKEJMnomWaQlMKmNW%2fm0RFd7PGZoN%2bribYrCgCEUR6WNpDRyaxsKfXEY%3d" \
http://localhost:8080/v1/vision_terminal_active
**Output**
{
"data": {
"equipmentId": "11111",
"activationTime": 1560426091,
"schoolId": "12222",
"testType": 1,
"orgName": "北京市昌平实验小学",
"contacts": "jack",
"address": "",
"phone": "18910265201",
"printQrCodeStatus": 1,
"qrCodeCallbackUrl":"http://www.hahahaah.com",
"note1": "",
"note2": "",
"headerUrl":"",
"footer":""
},
"errno": 200,
"msg": "success"
}
\ No newline at end of file
idapidesign/v1/app/06_subscribe_jpush.md
deleted
100644 → 0
View file @
9b90a134
# 注册jpush服务
注册设备,接收推送服务
## 修改记录
## 接口定义
/v1/subscribe_jpush
POST
## Request
API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{equipmentId}/{activeAccount}
X-Sign {String} rsa(timestamp) 加密
### Form Parameters
jpushToken {String} 设备Token
## Response
该接口返回Token信息
### Example
**Command**
##### Android
curl -X POST
\
-H "X-DeviceInformation: 11%2f22%2f96"
\
-H "X-Sign: lsK+/Wm5n2ArbOJfCx8zyW3RhFo+cAAsjjFa5eRcjt0lMGvkncSwwTErRuwYPQ4S2LkjZ7/qGIHmsEYMYGvmlvI4HZXrxUZzrSyf9GRqBYrfGAKVPbI3bBaxge64KkdGUba6f7enWy7wb5ORJXxLJbpTJ4nL3B+TwWECtfpMv6A="
\
-d "jpushToken=444444"
\
http://localhost:8080/v1/subscribe_jpush
**Output**
{
"errno": 200,
"msg": "success"
}
\ No newline at end of file
idapidesign/v1/app/07_vision_terminal_unbind.md
deleted
100644 → 0
View file @
9b90a134
# 解除设备绑定
## 修改记录
## 接口定义
/v1/vision_terminal_unbind
POST
## Request
API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{equipmentId}/{activeAccount}
X-Sign {String} rsa(timestamp) 加密
### Form Parameters
activeAccount {String}
activeCode {String}
## Response
### Example
**Command**
curl -X POST \
-H "X-DeviceInformation: 5ebfdbca1a5d4dbd4a6cc8e835276779" \
-H "X-Sign: xxxxxxxx"
http://localhost:8080/v1/vision_terminal_unbind
**Output**
{
"errno": 200,
"msg": "success"
}
\ No newline at end of file
idapidesign/v1/app/08_get_school_class_list.md
View file @
ba3b7a26
...
...
@@ -14,8 +14,8 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String}
rsa(timestamp
) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String}
rsa(timestamp_userId
) 加密
### Form Parameters
...
...
idapidesign/v1/app/10_get_student_list.md
View file @
ba3b7a26
...
...
@@ -14,8 +14,8 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String}
rsa(timestamp
) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String}
rsa(timestamp_userId
) 加密
### Form Parameters
...
...
@@ -46,17 +46,13 @@ API请求参数
{
"studentId": 50687,
"studentName": "郑笑莹",
"idcard": "11001020020202",
"gender": 2,
"age": 0,
"isUseGlasses": 0,
"schoolId": 160,
"gradeId": 260,
"classId": 1439,
"leftEye": "4.3",
"rightEye": "4.4",
"studentNumber": "",
"distance": 0,
"updatedAt": "2019-04-23 16:01:51"
"leftEye": 4.3,
"rightEye": 4.4,
}
]
}
...
...
idapidesign/v1/app/11_get_student_latest_visions.md
View file @
ba3b7a26
...
...
@@ -15,8 +15,8 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String}
rsa(timestamp
) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String}
rsa(timestamp_userId
) 加密
### Form Parameters
...
...
idapidesign/v1/app/12_get_student_visions.md
View file @
ba3b7a26
...
...
@@ -15,8 +15,8 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String}
rsa(timestamp
) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String}
rsa(timestamp_userId
) 加密
### Form Parameters
...
...
idapidesign/v1/app/13_get_ad.md
deleted
100644 → 0
View file @
9b90a134
# 获取广告信息
## 修改记录
## 接口定义
/v1/get_ad
GET
## Request
API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{equipmentId}/{activeAccount}
X-Sign {String} rsa(timestamp) 加密
### Form Parameters
## Response
type:1、图片、2:视频、3:网页、4:光明之星
carouselTime:轮播时间
### Example
**Command**
curl -X POST \
-H "X-DeviceInformation: 5ebfdbca1a5d4dbd4a6cc8e835276779" \
-H "X-Sign: xxxxxxxx"
http://localhost:8080/v1/get_ad
**Output**
{
"data": [
{
"title": "test",
"type": 1,
"url": "http://www.baidu.com",
"carouselTime": 111,
"listOrder": 1
}
],
"errno": 200,
"msg": "success"
}
\ No newline at end of file
idapidesign/v1/app/14_get_terminal_qrcode.md
deleted
100644 → 0
View file @
9b90a134
# 获取商城版二维码
##
## 接口定义
/v1/get_terminal_qrcode
GET
## Request
API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{equipmentId}/{activeAccount}
X-Sign {String} rsa(timestamp) 加密
### Form Parameters
## Response
### Example
**Command**
curl -X GET
\
-H "X-DeviceInformation: 11%2f22%2f96"
\
-H "X-Sign: gsvC5MP2ASj9JsX0uauVpriye6xz1G3GIwY9I9JEhQdvsdJs+LHi4+AcVE9JHEApFlAbiNv3FjahOMymWslI8fXcmkaUBCb/tFT8zHn/YFE6yIyOOVMojoYTPSEYkSGmJN2tekru0nHiO7z5wS8DDbP680wfuzQPFJUxJyeDGb4="
\
http://localhost:8080/v1/get_terminal_qrcode
**Output**
{
"code": "200",
"msg": "success",
"data": {
qrCodeUrl:"http://weixin.qq.com/q/02payj9BJ4f2h1efGpNt1a"
}
}
\ No newline at end of file
idapidesign/v1/app/16_terminal_upload_file.md
View file @
ba3b7a26
...
...
@@ -15,8 +15,8 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String} rsa(timestamp) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String} rsa(timestamp
_userId
) 加密
### Form Parameters
cmdId int64 1233
...
...
idapidesign/v1/app/17_student_search.md
View file @
ba3b7a26
...
...
@@ -14,8 +14,8 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String} rsa(timestamp) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String} rsa(timestamp
_userId
) 加密
### Form Parameters
...
...
idapidesign/v1/app/18_sync_visions.md
View file @
ba3b7a26
...
...
@@ -14,8 +14,8 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String} rsa(timestamp) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String} rsa(timestamp
_userId
) 加密
### Form Parameters
...
...
idapidesign/v1/app/20_upload_shop_vision_data.md
deleted
100644 → 0
View file @
9b90a134
# 上传单条商城数据
## 修改历史
## 接口定义
/v1/upload_shop_vision_data
POST
## Request
API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{equipmentId}/{activeAccount}
X-Sign {String} rsa(timestamp) 加密
### Form Parameters
dataId {String} 唯一ID ,由Android端生成
nickname {String} 昵称
parentId {int} 家长ID
leftEye {float} 左眼视力 3.8-5.3
rightEye {float} 右眼视力 3.8-5.3
leftOffset {int} 错误个数
rightOffset {int} 错误个数
distance {int} 3米或5米
phone {String} 手机号
testTime {int}
## Response
### Example
**Command**
curl -X POST \
-H "X-DeviceInformation: 11%2f22%2f141" \
-H "X-Sign: mCNfxI/TgBt9K63KJ/cMcW2SgjJuQhmpiyUsSIVncfrI7XgukTBX8mqB5zZZ4Zmid2Elb0NbeUEmPanSMkWMENzLu0hbFQQhN9FaOsCNAK0wBmOgZ0PW0/jCqi7m4yC0wcxRlkbefob7nB76ri5j2wvB0Qi4Js8UPUl77eegs9A=" \
-d 'dataId=1DE5CAAA-DB46-419A-8162-EC853DAEA5CF&studentId=549&leftEye=1.0&rightEye=1.2&leftOffset=1&rightOffset=0&parentId=10&phone=1111&distance=3&testTime=1560426091' \
http://localhost:8080/v1/upload_shop_vision_data
**Output**
{
"errno": 200,
"msg": "success"
}
\ No newline at end of file
idapidesign/v1/app/21_append_backup_data.md
View file @
ba3b7a26
...
...
@@ -15,8 +15,8 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String} rsa(timestamp) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String} rsa(timestamp
_userId
) 加密
### Form Parameters
...
...
idapidesign/v1/app/22_get_backup_data.md
View file @
ba3b7a26
...
...
@@ -15,8 +15,8 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String} rsa(timestamp) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String} rsa(timestamp
_userId
) 加密
### Form Parameters
...
...
idapidesign/v1/app/23_upload_diopter_data.md
View file @
ba3b7a26
...
...
@@ -7,6 +7,7 @@
## 接口定义
/v1/upload_diopter_data
/v1/upload_diopter_data/repeat
POST
## Request
...
...
@@ -15,15 +16,24 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String} rsa(timestamp) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String} rsa(timestamp
_userId
) 加密
### Form Parameters
dataId {String} 唯一ID ,由Android端生成
planId {int} 计划ID
studentId {int} 学生ID
leftEye {String} <REFL0162.012.00-03.00+--02.50-01.00170>
rightEye {String} <REFR0162.012.00-03.00+--02.50-01.00170>
leftS {float} 球镜S
leftC {float} 柱镜C
leftA {float} 轴位A
rightS {float} 球镜S
rightC {float} 柱镜C
rightA {float} 轴位A
pd {float} 全瞳距值,4 个字节,输出格式为??.?,单位为 mm,如 62.0 表示瞳距为 62mm,如果为“00.0”表示该项无记录
vd {float} 顶点距离值,5 个字节,输出格式为??.??,单位为 mm,如 12.00 表示 12mm
se {float} 综合球镜度,6 个字节,输出格式为???.??,单位为 D,如-05.25 表示综合球镜度为-5.25D。
sylsign {string} 记录数据时柱镜符号设置,2 个字节,可能是++、--、+-,分别代表正、负、混合设置。
testTime {int}
classId {int} 班级ID
...
...
idapidesign/v1/app/24_batch_upload_diopter_data.md
View file @
ba3b7a26
...
...
@@ -15,8 +15,8 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String} rsa(timestamp) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String} rsa(timestamp
_userId
) 加密
### Form Parameters
...
...
idapidesign/v1/app/25_upload_cornea_data.md
View file @
ba3b7a26
...
...
@@ -15,8 +15,8 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String} rsa(timestamp) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String} rsa(timestamp
_userId
) 加密
### Form Parameters
...
...
idapidesign/v1/app/26_batch_upload_cornea_data.md
View file @
ba3b7a26
...
...
@@ -15,8 +15,8 @@ API请求参数
### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
equipmentId}/{activeAccount
}
X-Sign {String} rsa(timestamp) 加密
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{
deviceSN}/{orgID
}
X-Sign {String} rsa(timestamp
_userId
) 加密
### Form Parameters
...
...
idapidesign/v1/partner/04_get_student_archive.md
View file @
ba3b7a26
...
...
@@ -65,5 +65,17 @@ API请求参数
"testTime":1566357456,
}
],
"diopter": [
{
"leftSph": -25,
"leftCyl": 50,
"leftAxis": 50,
"rightSph": 1,
"rightCyl": 44,
"rightAxis": 25,
"pd": 56,
"testTime": 1536635470
}
],
}
}
\ No newline at end of file
idapidesign/v1/partner/08_get_student_info.md
View file @
ba3b7a26
...
...
@@ -44,6 +44,7 @@ API请求参数
"studentId": 101123985365794816,
"studentName": "陈宇昕",
"gender": 1,
"isUseGlasses": 0,
"class": "1900班",
"grade": "1年级",
"campName": "湘潭县第一中学"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment