Commit 35b40ff2 by lichaogang

refactor login response and upload vision's header

parent 9c517b97
...@@ -44,39 +44,44 @@ API请求参数 ...@@ -44,39 +44,44 @@ API请求参数
**Output** **Output**
{ {
"data": { "data": {
"userId":122222222 "userId": 1,
"username": "testuser", "userName": "test",
"title": "张飞", "title": "筛查员",
"canUpload": 1, "canUpload": 1,
"orgId": 1111111, "orgId": 96393498273513472,
"orgName": "东小口社区医院", "orgName": "欧欧演示机构",
"planList":[ "plans": [
{ {
"planId": 53, "planId": 53,
"planName": "广西南宁2019年上学期学生视力筛查", "planName": "广西南宁2019年上学期学生视力筛查",
"startDate": 1569859200, "startDate": 1569859200,
"endDate": 1575043200, "endDate": 1575043200,
"remark": "", "remark": "",
"items": [ "items": [
{ {
"key": "ASSISTED_VISION", "key": "ASSISTED_VISION",
"name": "戴 镜" "name": "戴 镜"
}, },
{ {
"key": "DIOPTER", "key": "DIOPTER",
"name": "屈 光" "name": "屈 光"
}, },
{ {
"key": "VISION", "key": "VISION",
"name": "裸 眼" "name": "裸 眼"
} }
], ],
"camps": [] "camps": [
}, {
], "campId": 106,
"campName": "欧欧演示账号",
}, "status": 2
"errno": 200, }
"msg": "success" ]
}
]
},
"errno": 200,
"msg": "success"
} }
\ No newline at end of file
...@@ -16,7 +16,7 @@ API请求参数 ...@@ -16,7 +16,7 @@ API请求参数
### Head ### Head
X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{deviceSN}/{orgID}/{campID}/{campID} X-DeviceInformation {String} 设备信息, 格式为: {osVersion}/{appVersion}/{deviceSN}/{orgID}/{campID}
X-Sign {String} rsa(timestamp_userId) 加密 X-Sign {String} rsa(timestamp_userId) 加密
### Form Parameters ### Form Parameters
......
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