文档
测试

获取异常日志

GET
http://api.dev.toimc.com:22000/admin/getError?page=1&limit=10

请求头

参数名
类型
描述
必填
Authorization
string
示例:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZTc4ZDE5NTc4YzRkMGMwNmU0ODBhMGIiLCJpYXQiOjE1OTAxMTUwMjUsImV4cCI6MTU5MDIwMTQyNX0.C3PehCk_OYm4FVN1hSaAt_uXr30l__69aODmQwWCr5E
必填

请求参数

参数名
类型
描述
必填
page
int
示例:1
必填
limit
int
示例:10
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:查询成功
必填
data
array
数据列表
必填
message
string
示例:Authentication Error
必填
code
string
示例:404
必填
method
string
示例:GET
必填
path
string
示例:/admin/getRoles
必填
param
string
示例:
必填
username
string
示例:
必填
stack
string
示例:UnauthorizedError: Authentication Error at Object.throw (/app/node_modules/_koa@2.11.0@koa/lib/context.js:97:11) at jwt (/app/node_modules/_koa-jwt@3.6.0@koa-jwt/lib/index.js:23:22) at /app/node_modules/_koa-unless@1.0.7@koa-unless/index.js:29:12 at dispatch (/app/node_modules/_koa-compose@4.1.0@koa-compose/index.js:42:32) at e.a (/app/dist/server.bundle.js:1:52220) ...
必填
_id
string
示例:5ec78abf3166f7b73e804006
必填
created
string
示例:2020-05-22T08:18:07.788Z
必填
updated
string
示例:2020-05-22T08:18:07.788Z
必填
__v
int
示例:0
必填
total
int
示例:1458
必填
filters
object
数据字典
必填
method
array
数据列表
必填
label
string
示例:DELETE
必填
value
string
示例:DELETE
必填
code
array
数据列表
必填
label
string
示例:404
必填
value
int
示例:404
必填