router/api-router.go:253。controller.GetLogFiles,controller/performance.go:222。ops:read。同时需要满足接口的角色和业务要求。Authorization: Bearer ********************curl --location '/api/performance/logs' \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "string",
"data": {
"log_dir": "string",
"enabled": true,
"file_count": 0,
"total_size": 0,
"oldest_time": "2019-08-24T14:15:22.123Z",
"newest_time": "2019-08-24T14:15:22.123Z",
"files": [
{
"name": "string",
"size": 0,
"mod_time": "2019-08-24T14:15:22.123Z",
"property1": "string",
"property2": "string"
}
],
"property1": "string",
"property2": "string"
},
"property1": "string",
"property2": "string"
}