{
  "openapi": "3.0.3",
  "info": {
    "title": "会员功能限制配置 - 切换会员功能限制状态",
    "version": "1.0.0",
    "description": "会员功能限制配置相关接口文档"
  },
  "paths": {
    "/api/members/function-limits/{limitId}/status": {
      "put": {
        "summary": "切换会员功能限制状态",
        "description": "切换限制配置启用/禁用状态",
        "parameters": [
          {
            "name": "limitId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "限制配置ID"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "number",
                    "description": "number｜必填，状态：1-启用，0-禁用"
                  }
                },
                "required": [
                  "status"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "example": {
                  "success": {
                    "code": "0000",
                    "message": "状态更新成功",
                    "data": {
                      "id": 1,
                      "code": "MFL0001",
                      "status": 1
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}