公共错误码
下表为对外接口常见公共错误码。
| 错误码 | 含义 |
|---|---|
100001 | 服务器内部错误 |
100002 | 服务暂时不可用 |
101001 | 参数错误 |
102001 | 资源不存在 |
错误响应示例
{
"code": 101001,
"message": "参数错误: hour 不合法"
}
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help