###登录
POST {{baseUrl}}/login/login
Content-Type: application/json

{
"loginName":"admin",
"password":"admin",
"securityCode":"8888"
}

> {%
client.global.set("SmsSet_id", JSON.parse(response.body).data.id);
client.global.set("authToken", JSON.parse(response.body).data.token);
%}

###异常日志列表
POST {{baseUrl}}/error/log/list
Authorization: {{authToken}}
Content-Type: application/json

{
    "traceID":"p90qpk",
    "appName":"dp7dhc",
    "message":"073hnq",
    "page":1,
    "size":10
}


###异常日志更新与保存
POST {{baseUrl}}/error/log/save
Content-Type: application/json

{
        "traceID":"64364f4f9b8d47e61cb6b24c",
        "appName":"device-manager",
        "hostName":"",
        "message":"设备离线！",
        "platform":"android",
        "culprit":"com.mortals.xhx.module.page.dao.ibatis.PageAccessDaoImpl.insert",
        "tags":"app,system",
        "level":"ERROR",
        "environment":"",
        "releaseVersion":"",
        "fingerprint":"",
        "threadNo":"http-nio-17212-exec-1138",
        "checkNum":1,
        "errorStack":"at com.mortals.framework.springcloud.aspectj.LogAspect.logThrowing(LogAspect.java:99)",
        "context":"",
        "extra":"",
        "logTime":"1688695785180"
}


> {%
client.global.set("ErrorLog_id", JSON.parse(response.body).data.id);
%}

###异常日志查看
GET {{baseUrl}}/error/log/info?id={{ErrorLog_id}}
Authorization: {{authToken}}
Accept: application/json

###异常日志编辑
GET {{baseUrl}}/error/log/edit?id={{ErrorLog_id}}
Authorization: {{authToken}}
Accept: application/json


###异常日志删除
GET {{baseUrl}}/error/log/delete?id={{ErrorLog_id}}
Authorization: {{authToken}}
Accept: application/json




