[TOC=2,3]
* * * * *
* * * * *
* * * * *
## 1. 获取日程信息接口
> 获取日程主界面信息接口
+++
post:/schedule/getSchedule
*string:access_token#访问Token【Token附加参数,由前端算法生成】
string:user_token#用户Token【由登录接口返回的user_token】
<<<
success
返回示例:
{
"code": 0,
"msg": "获取成功!",
"data": [
{
"city_en": "shanghai",
"city": "上海",
"content": [
"第1站:4.12-4.14",
"第2站:4.12-4.14",
"第3站:4.12-4.14",
"第4站:4.12-4.14"
]
},
{
"city_en": "beijing",
"city": "北京",
"content": [
"第1站:4.12-4.14",
"第2站:4.12-4.14",
"第3站:4.12-4.14",
"第4站:4.12-4.14"
]
},
{
"city_en": "shenzhen",
"city": "深圳",
"content": [
"第1站:4.12-4.14",
"第2站:4.12-4.14",
"第3站:4.12-4.14",
"第4站:4.12-4.14"
]
},
{
"city_en": "shuzhou",
"city": "苏州",
"content": [
"第1站:4.12-4.14",
"第2站:4.12-4.14",
"第3站:4.12-4.14",
"第4站:4.12-4.14"
]
},
{
"city_en": "hangzhou",
"city": "杭州",
"content": [
"第1站:4.12-4.14",
"第2站:4.12-4.14",
"第3站:4.12-4.14",
"第4站:4.12-4.14"
]
},
{
"city_en": "xian",
"city": "西安",
"content": [
"第1站:4.12-4.14",
"第2站:4.12-4.14",
"第3站:4.12-4.14",
"第4站:4.12-4.14"
]
},
{
"city_en": "chengdu",
"city": "成都",
"content": [
"第1站:4.12-4.14",
"第2站:4.12-4.14",
"第3站:4.12-4.14",
"第4站:4.12-4.14"
]
}
],
"exe_time": "0.267000"
}
<<<
error1
返回示例:
{
"code": 1000020,
"msg": "没有日程信息",
"exe_time": "0.022000"
}
+++
* * * * *
* * * * *
* * * * *
## 2. 获取日程图片接口
> 获取日程主界面信息接口
+++
post:/schedule/getSchedulePicPath
*string:access_token#访问Token【Token附加参数,由前端算法生成】
string:user_token#用户Token【由登录接口返回的user_token】
<<<
success
返回示例:
{
"code": 0,
"msg": "获取成功!",
"data": {
"schedule_pic_path": "http://roadshow.funartlab.cn/upload/picture/20190413/24eb04739d3371cb32a2f4b83d4272bd.png",
"data_sign": "fb74670c4169b38688611adff6d34df7"
},
"exe_time": "0.236014"
}
<<<
error1
返回示例:
{
"code": 1000020,
"msg": "没有日程图片",
"exe_time": "0.022000"
}
+++