error code
错误返回值格式
{
"uri" : "/intf/albums-by-type.jsp",
"error-code":"20502",
"error-desc":"Need you follow uid.",
"user-notice":"给用户的提示放在这里"
}
错误代码说明
10001
| 1 | 00 | 01
|
| 服务级错误(1为系统级错误,2为应用级错误) | 服务模块代码 | 具体错误代码
|
错误代码对照表
系统错误
| 10001 | Invalid user | 不合法的用户
|
| 10002 | HTTP method is not suported for this request | 请求的HTTP方法不支持
|
| 10003 | Job expired | 任务超时
|
| 10004 | User is not login | 用户未登录
|
| 10005 | Invalid common session | 无效的common session
|
| 10006 | Invalid parameter | 无效的参数
|
应用错误
| 20000 | Unknown exception | 未知异常
|
| 20101 | Out of limit,Please wait a moment . | 发布评论过于频繁
|
| 20201 | Device id can not be empty | 设备ID不能为空
|
| 20202 | Voted today | 今天已经投过票了
|