@apis1990
2016-08-14T03:43:13.000000Z
字数 478
阅读 521
v2-教练端
测试地址:http://36.33.24.119:8081/api/v2/coachuser/add_users.php
参数 | 类型 | 是否必须 | 描述 |
---|---|---|---|
coach_id | int | yes | 教练ID |
stage | int | yes | 状态(1:待定 2:科目二 3:科目三 4:毕业) |
status | int | yes | 状态(1:待定 1001:休息中 1002:练车中 1003:考试中 4:毕业) |
users_json | string | yes | 学员json数据的string 例:[{"user_name": "陈曦2","user_phone": "18656999125"},{"user_name": "张三1","user_phone": "12345678902"}] |
year | int | yes | 年 |
month | int | yes | 月 |
day | int | yes | 日 |
{
"code": 200,
"data": "导入成功" // 建议导入学员时 不提示是否导入成功 直接刷新列表
}