{
  "openapi": "3.0.3",
  "info": {
    "title": "OpenAPI 接口 - 有状态会员功能模块校验（场景C）",
    "version": "1.0.0",
    "description": "OpenAPI 接口相关接口文档"
  },
  "paths": {
    "/openapi/memberships/functionCheck": {
      "post": {
        "summary": "有状态会员功能模块校验（场景C）",
        "description": "场景C：在场景B基础上，进一步校验该用户的会员类型在指定系统下是否开通了特定功能模块。适用于菜单/功能级别的精细控制。",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "用户登录令牌，格式 Bearer TOKEN",
            "example": "Bearer {token}"
          },
          {
            "name": "X-Site",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "站点标识"
          },
          {
            "name": "X-System-Code",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "系统编码"
          },
          {
            "name": "X-Function",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "功能模块代码（moduleCode），如 VIDEO_DOWNLOAD"
          }
        ],
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "example": {
                  "code": "0000",
                  "message": "成功"
                }
              }
            }
          }
        }
      }
    }
  }
}