{
  "openapi": "3.0.1",
  "info": {
    "title": "默认模块",
    "description": "",
    "version": "1.0.0"
  },
  "tags": [],
  "paths": {
    "/fundFlow/flowsPage": {
      "get": {
        "summary": "查看流水",
        "deprecated": false,
        "description": "",
        "tags": [],
        "parameters": [
          {
            "name": "records[0].key",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": ""
            }
          },
          {
            "name": "total",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "size",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "current",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "orders[0].column",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orders[0].asc",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "optimizeCountSql",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "searchCount",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "optimizeJoinOfCountSql",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "maxLimit",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "countId",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "payStartTime",
            "in": "query",
            "description": "支付开始时间",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "payEndTime",
            "in": "query",
            "description": "支付结束时间",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orderCreateStartTime",
            "in": "query",
            "description": "订单创建开始时间",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orderCreateEndTime",
            "in": "query",
            "description": "订单创建结束时间",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "query",
            "in": "query",
            "description": "查询条件",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orderFlowType",
            "in": "query",
            "description": "订单流水类型\nPAY :支付订单\nWITHDRAW :提交提现",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "PAY",
                "WITHDRAW"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RPageFlowPageVO"
                },
                "example": {
                  "code": 0,
                  "msg": "",
                  "data": {
                    "records": [
                      {
                        "orderId": 0,
                        "orderType": "",
                        "orderNo": "",
                        "orderCreateTime": "",
                        "payTime": "",
                        "originalOrderAmount": 0,
                        "orderAmount": 0,
                        "operationAmount": 0,
                        "beforeAmount": 0,
                        "afterAmount": 0,
                        "amountType": "",
                        "walletType": ""
                      }
                    ],
                    "total": 0,
                    "size": 0,
                    "current": 0,
                    "orders": [
                      {
                        "column": "",
                        "asc": false
                      }
                    ],
                    "optimizeCountSql": false,
                    "searchCount": false,
                    "optimizeJoinOfCountSql": false,
                    "maxLimit": 0,
                    "countId": ""
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "FlowPageVO": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "integer",
            "description": "订单id",
            "format": "int64"
          },
          "orderType": {
            "type": "string",
            "description": "订单类型",
            "enum": [
              "PAY",
              "WITHDRAW"
            ]
          },
          "orderNo": {
            "type": "string",
            "description": "商户原始订单号"
          },
          "orderCreateTime": {
            "type": "string",
            "description": "订单创建时间"
          },
          "payTime": {
            "type": "string",
            "description": "支付时间"
          },
          "originalOrderAmount": {
            "type": "number",
            "description": "订单原始金额"
          },
          "orderAmount": {
            "type": "number",
            "description": "订单实际金额"
          },
          "operationAmount": {
            "type": "number",
            "description": "变更金额"
          },
          "beforeAmount": {
            "type": "number",
            "description": "变更前金额"
          },
          "afterAmount": {
            "type": "number",
            "description": "变更后金额"
          },
          "amountType": {
            "type": "string",
            "description": "变更类型",
            "enum": [
              "SUB",
              "ADD"
            ]
          },
          "walletType": {
            "type": "string",
            "description": "操作钱包类型",
            "enum": [
              "TOTAL",
              "USE",
              "FREEZE",
              "WITHDRAW",
              "WITHDRAW_TOTAL"
            ]
          }
        }
      },
      "PageFlowPageVO": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FlowPageVO",
              "description": ""
            },
            "description": ""
          },
          "total": {
            "type": "integer",
            "description": "",
            "format": "int64"
          },
          "size": {
            "type": "integer",
            "description": "",
            "format": "int64"
          },
          "current": {
            "type": "integer",
            "description": "",
            "format": "int64"
          },
          "orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderItem",
              "description": "com.baomidou.mybatisplus.core.metadata.OrderItem"
            },
            "description": ""
          },
          "optimizeCountSql": {
            "type": "boolean",
            "description": ""
          },
          "searchCount": {
            "type": "boolean",
            "description": ""
          },
          "optimizeJoinOfCountSql": {
            "type": "boolean",
            "description": ""
          },
          "maxLimit": {
            "type": "integer",
            "description": "",
            "format": "int64"
          },
          "countId": {
            "type": "string",
            "description": ""
          }
        }
      },
      "RPageFlowPageVO": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "返回标记：成功标记=0，失败标记=1"
          },
          "msg": {
            "type": "string",
            "description": "返回信息"
          },
          "data": {
            "$ref": "#/components/schemas/PageFlowPageVO",
            "description": "数据"
          }
        }
      },
      "OrderItem": {
        "type": "object",
        "properties": {
          "column": {
            "type": "string",
            "description": ""
          },
          "asc": {
            "type": "boolean",
            "description": ""
          }
        }
      }
    },
    "responses": {},
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "servers": [],
  "security": []
}