{
  "openapi": "3.0.3",
  "info": {
    "title": "职员管理 - 获取职员详情",
    "version": "1.0.0",
    "description": "职员管理相关接口文档"
  },
  "paths": {
    "/api/staff/{id}": {
      "get": {
        "summary": "获取职员详情",
        "description": "根据职员ID获取职员详细信息",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "职员ID"
          }
        ],
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "example": {
                  "success": {
                    "code": "0000",
                    "message": "获取成功",
                    "data": {
                      "id": 1,
                      "code": "STA0001",
                      "name": "张三",
                      "phone": "13800000001",
                      "organizationId": "ORG0001",
                      "status": 1,
                      "createTime": "2025-01-01T10:00:00.000Z"
                    }
                  },
                  "failure": {
                    "code": "4040",
                    "message": "职员不存在",
                    "data": null
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}