{
  "openapi": "3.0.3",
  "info": {
    "title": "会员管理 - 获取有效会员列表",
    "version": "1.0.0",
    "description": "会员管理相关接口文档"
  },
  "paths": {
    "/api/members/valid-list": {
      "get": {
        "summary": "获取有效会员列表",
        "description": "获取所有状态为有效（status=1）的会员套餐列表，用于下拉选择。无需分页，返回简化的字段信息。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "example": {
                  "success": {
                    "code": "0000",
                    "message": "操作成功",
                    "data": [
                      {
                        "id": "xxx",
                        "_id": "xxx",
                        "code": "MEM0001",
                        "name": "会员套餐1",
                        "description": "套餐描述"
                      },
                      {
                        "id": "yyy",
                        "_id": "yyy",
                        "code": "MEM0002",
                        "name": "会员套餐2",
                        "description": "套餐描述"
                      }
                    ],
                    "timestamp": "2025-01-21T10:00:00.000Z"
                  },
                  "failure": {
                    "code": "4000",
                    "message": "获取失败",
                    "data": null
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}