[关闭]
@apis1990 2016-08-24T03:47:54.000000Z 字数 1756 阅读 519

学员端

上传学员头像


1.URL:/service/api/update_user_photo.php

测试地址:http://36.33.24.119:8081/api/get_school_detail.php

2.请求方式:POST

3.请求参数:

参数 类型 是否必须 描述
id int 驾校ID
lng decimal(15,6) 学员经度
lat decimal(15,6) 学员维度
uid int 学员ID

4.接口返回结果

  1. {
  2. "code": 200,
  3. "data": {
  4. "l_school_id": "1",
  5. "s_school_name": "\u516b\u4e00\u9a7e\u6821",
  6. "s_imgurl": [
  7. "http:\/\/localhost\/sadmin\/upload\/banner\/1\/banner1.jpg",
  8. "http:\/\/localhost\/sadmin\/upload\/banner\/1\/banner2.jpg",
  9. "http:\/\/localhost\/sadmin\/upload\/banner\/1\/banner3.jpg"
  10. ],
  11. "s_shifts_intro": "内容。。。",
  12. "tl_train_address": "\u6d4b\u8bd5\u7231\u4e0a\u5927\u58f0\u5730",
  13. "tl_phone": "13003004023",
  14. "tl_location_x": "117.181854",
  15. "tl_location_y": "31.846319",
  16. "min_distance": 80,
  17. "total_comment_num": 3,
  18. "average_star_num": 4,
  19. "shifts_list": [
  20. {
  21. "id": "1",
  22. "sh_school_id": "1",
  23. "sh_title": "\u81ea\u4e3b\u9884\u7ea6C1\/C2",
  24. "sh_money": "67",
  25. "sh_original_money": "100.00",
  26. "sh_type": "1",
  27. "sh_description_2": "\u5b66\u8f66\u65f6\u95f4\u81ea\u4e3b\u5b89\u6392\uff0c\u4e13\u4eba\u4e13\u8f66",
  28. "sh_description_1": "\u6700\u77ed\u65f6\u95f42\u4e2a\u6708",
  29. "addtime": "1444376747"
  30. },
  31. {
  32. "id": "2",
  33. "sh_school_id": "1",
  34. "sh_title": "\u4f20\u7edf\u666e\u901a\u73edC1\/C2",
  35. "sh_money": "4200",
  36. "sh_original_money": "5000.00",
  37. "sh_type": "2",
  38. "sh_description_2": " \u62ff\u8bc1\u65f6\u95f4\u77ed\uff0c\u670d\u52a1\u597d ",
  39. "sh_description_1": "\u5b66\u4e60\u65f6\u95f42\u4e2a\u6708",
  40. "addtime": "1444382703"
  41. },
  42. {
  43. "id": "3",
  44. "sh_school_id": "1",
  45. "sh_title": "\u4f20\u7edfVIP\u73edC1\/C2",
  46. "sh_money": "5100",
  47. "sh_original_money": "6100.00",
  48. "sh_type": "3",
  49. "sh_description_2": " \u5b66\u8f66\u65f6\u95f4\u81ea\u4e3b\u5b89\u6392\uff0c\u4e13\u4eba\u4e13\u8f66 ",
  50. "sh_description_1": "\u6700\u77ed\u65f6\u95f42\u4e2a\u6708",
  51. "addtime": "1444378077"
  52. }
  53. ],
  54. "loginauth": "DAGajmVsbBM83t\/C6fjCKnYPG9OHQu6NwDnIwpvDYEQ="
  55. }
  56. }
参数 类型 描述
code int 状态码:200 --- 成功 其它 --- 异常

需要字段:

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注