Module: Yrpc::Response::Code
- Defined in:
- lib/yrpc/controllers/response.rb
Constant Summary collapse
- SUCCESS =
20000 成功
'20000'
- PROVIDER_BIND_ANOTHER_USER =
第三方账户已绑定其它用户
'30010'
- INVALID_REQUEST =
非法请求
'40300'
- INVALID_TERMINAL_SESSION_KEY =
终端密钥错误
'40301'
- INVALID_USER_SESSION_KEY =
用户密钥错误
'40302'
- EXCEED_REQUEST_LIMIT =
超出请求限制数
'40303'
- NOT_COMPATIBLE_REVISION =
版本号不适配
'40304'
- ACCESS_TOKEN_EXPIRED =
访问令牌过期
'40305'
- ERROR =
未知错误(通常在捕捉异常后使用)
'50000'
- MISS_REQUEST_PARAMS =
请求参数缺失 Todo: 移动到数据相关
'50001'
- DATA_PROCESS_ERROR =
数据处理错误 Todo: 移动到数据相关
'51000'
- DATA_MISS_ERROR =
数据缺失错误 Todo: 移动到数据相关
'51001'
- ORDER_PAYMENT_COMPLETED =
'55000'
- NEED_LOGIN =
'40100'
- ERROR_VALIDATE_CODE =
'40200'