{
  "openapi": "3.0.3",
  "info": {
    "title": "补贴统计审计字段增量契约",
    "version": "2026-08-19"
  },
  "paths": {
    "/p/subsidy/list": {
      "post": {
        "summary": "补贴统计列表",
        "description": "一条实际到账补贴记录一行；新增批次备注及创建、审核、终审人员和时间字段。",
        "tags": ["统计报表/充值补贴统计"],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "start_date": {"type": "string", "format": "date"},
                  "end_date": {"type": "string", "format": "date"},
                  "department_uuid": {"type": "string"},
                  "nickname": {"type": "string"},
                  "mobile": {"type": "string"},
                  "page": {"type": "integer", "minimum": 1}
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "查询成功",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {"type": "integer", "example": 0},
                    "message": {"type": "string", "example": "查询成功"},
                    "data": {
                      "type": "object",
                      "properties": {
                        "data": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "subsidy_record_id": {"type": "integer", "description": "yoshop_user_subsidy.id"},
                              "log_id": {"type": "integer", "description": "补贴发放批次ID"},
                              "recharge_date": {"type": "string", "format": "date"},
                              "department_name": {"type": "string"},
                              "user": {
                                "type": "object",
                                "properties": {"name": {"type": "string"}}
                              },
                              "mobile": {"type": "string"},
                              "sum_money": {"type": "number", "description": "兼容旧字段；本条到账记录的剩余金额"},
                              "sum_used_money": {"type": "number", "description": "兼容旧字段；本条到账记录的已使用金额"},
                              "subsidy_amount": {"type": "string", "example": "10.00"},
                              "note": {"type": "string"},
                              "create_by": {"type": "string"},
                              "create_time": {"type": "string"},
                              "reviewer": {"type": "string"},
                              "review_time": {"type": "string"},
                              "final_reviewer": {"type": "string"},
                              "final_review_time": {"type": "string"}
                            }
                          }
                        },
                        "total": {"type": "integer"},
                        "per_page": {"type": "integer"},
                        "total_price": {"type": "string"}
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
