Commit 35b40ff2 by lichaogang

refactor login response and upload vision's header

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