ApiResponse

constructor(success: Boolean, data: T, requestId: String)

Parameters

T

响应数据类型

success

请求是否成功

data

响应数据

requestId

请求 ID,用于日志排查