Skip to content
jimxiang edited this page Jun 21, 2016 · 20 revisions

目录

接口列表

  1. 接口文档
  2. 数据库设计
  3. 全局错误码

###杂项

  1. 时间格式

##全局错误码

errCode 含义
0 成功
100开头 用户部分
101 该邮箱已被注册
102 该用户名已被注册
103 密码不能为空
104 email不能为空
105 Token异常
106 获取用户信息失败
107 修改用户信息失败
200开头 登录部分
201 登录失败
202 密码不能为空
300开头 评论部分
301 post id不能为空
302 creater id不能为空
303 评论内容不能为空
304 发表评论失败
305 评论者不存在
306 post不存在
307 id不能为空
308
309 获取失败
310 请求失败
400开头 POST部分
401 token不能为空
402 post id不能为空
403 post id不存在
404 comment id不能为空
405 获取失败
406 用户id不能为空
407 用户id不存在
408 参数不能有空值
409 comment id不存在
500开头 schedule部分
501 destination不能为空
502 scheduleDate不能为空
503 schedule不存在
700开头 day_detail部分
701 plan id不能为空
702 plan id不存在
703 获取失败
704 post id不能为空
705 post id不存在
706 dayDetail id不能为空
707 dayDetail id不存在
708 删除失败
999 未知错误

##杂项 ###时间格式 待定

Clone this wiki locally