GET /oauth/consent/check

检查当前用户是否已对指定 OAuth 客户端授权

OAuth `bearerAuth` application/json

请求参数

名称位置类型必填默认值示例约束描述
client_id query string 是 OAuth 客户端 ID

响应

引用的 Schema

service-core/base/dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-oauth/internal/handler/dto.ConsentCheckResult

字段类型必填示例约束描述
has_consent boolean 否 True