{ "openapi": "3.0.1", "info": { "title": "默认模块", "description": "", "version": "1.0.0" }, "tags": [], "paths": { "/merchantWithdraw/page": { "post": { "summary": "分页 merchantWithdraw_admin", "deprecated": false, "description": "", "tags": [], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AgentWithdrawDTO", "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RPageMerchantWithdrawPageVO" }, "examples": { "1": { "summary": "成功示例", "value": { "code": 0, "msg": "", "data": { "records": [ { "id": 0, "merchantId": 0, "merchantName": "", "amount": 0, "type": 0, "bankName": "", "bankAccount": "", "realName": "", "applyTime": "", "auditStatus": 0, "transferStatus": 0, "failReason": "", "createdTime": "", "updatedTime": "" } ], "total": 0, "size": 0, "current": 0, "orders": [ { "column": "", "asc": false } ], "optimizeCountSql": false, "searchCount": false, "optimizeJoinOfCountSql": false, "maxLimit": 0, "countId": "" } } }, "2": { "summary": "成功示例", "value": { "code": 0, "msg": "", "data": { "records": [ { "id": 0, "merchantId": 0, "merchantName": "", "amount": 0, "type": 0, "bankName": "", "bankAccount": "", "realName": "", "applyTime": "", "auditStatus": 0, "transferStatus": 0, "failReason": "", "createdTime": "", "updatedTime": "" } ], "total": 0, "size": 0, "current": 0, "orders": [ { "column": "", "asc": false } ], "optimizeCountSql": false, "searchCount": false, "optimizeJoinOfCountSql": false, "maxLimit": 0, "countId": "" } } }, "3": { "summary": "成功示例", "value": { "code": 0, "msg": "", "data": { "records": [ { "id": 0, "merchantId": 0, "merchantName": "", "amount": 0, "type": 0, "bankName": "", "bankAccount": "", "realName": "", "applyTime": "", "auditStatus": 0, "transferStatus": 0, "failReason": "", "createdTime": "", "updatedTime": "" } ], "total": 0, "size": 0, "current": 0, "orders": [ { "column": "", "asc": false } ], "optimizeCountSql": false, "searchCount": false, "optimizeJoinOfCountSql": false, "maxLimit": 0, "countId": "" } } } } } } } }, "security": [ { "bearer": [] } ] } }, "/merchantWithdraw/apply": { "post": { "summary": "申请提现 merchantWithdraw_apply_admin", "deprecated": false, "description": "", "tags": [], "parameters": [], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AddAgentWithdrawDTO", "description": "" } } } }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/R", "description": "响应信息主体" }, "examples": { "1": { "summary": "成功示例", "value": { "ok": false, "code": 0, "msg": "", "data": {} } }, "2": { "summary": "成功示例", "value": { "ok": false, "code": 0, "msg": "", "data": {} } }, "3": { "summary": "成功示例", "value": { "ok": false, "code": 0, "msg": "", "data": {} } } } } } } }, "security": [ { "bearer": [] } ] } } }, "components": { "schemas": { "MerchantWithdrawPageVO": { "type": "object", "properties": { "id": { "type": "integer", "description": "", "format": "int64" }, "merchantId": { "type": "integer", "description": "代理商ID", "format": "int64" }, "merchantName": { "type": "string", "description": "代理商明显" }, "amount": { "type": "number", "description": "提现金额" }, "type": { "type": "integer", "description": "提现类型:1 银行卡 2 U" }, "bankName": { "type": "string", "description": "银行名称" }, "bankAccount": { "type": "string", "description": "银行卡账号" }, "realName": { "type": "string", "description": "姓名" }, "applyTime": { "type": "string", "description": "审核时间" }, "auditStatus": { "type": "integer", "description": "0待审核 1通过 2拒绝" }, "transferStatus": { "type": "integer", "description": "0待打款 1成功 2失败" }, "failReason": { "type": "string", "description": "拒绝原因" }, "createdTime": { "type": "string", "description": "添加时间" }, "updatedTime": { "type": "string", "description": "更新时间" } } }, "": { "type": "object", "properties": {} }, "PageMerchantWithdrawPageVO": { "type": "object", "properties": { "records": { "type": "array", "items": { "$ref": "#/components/schemas/MerchantWithdrawPageVO", "description": "com.mw.bridging.admin.api.vo.merchant.MerchantWithdrawPageVO" }, "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": "" } } }, "RPageMerchantWithdrawPageVO": { "type": "object", "properties": { "code": { "type": "integer", "description": "返回标记:成功标记=0,失败标记=1" }, "msg": { "type": "string", "description": "返回信息" }, "data": { "$ref": "#/components/schemas/PageMerchantWithdrawPageVO", "description": "数据" } } }, "R": { "type": "object", "properties": { "ok": { "type": "boolean" }, "code": { "type": "integer", "description": "返回标记:成功标记=0,失败标记=1" }, "msg": { "type": "string", "description": "返回信息" }, "data": { "type": "object", "properties": {}, "description": "数据" } } }, "AgentWithdrawDTO": { "type": "object", "properties": { "records": { "type": "array", "items": { "$ref": "#/components/schemas/1" }, "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": "" }, "auditStatus": { "type": "integer", "description": "0待审核 1通过 2拒绝" }, "transferStatus": { "type": "integer", "description": "0待打款 1成功 2失败" }, "bankAccount": { "type": "string", "description": "银行卡账号" }, "realName": { "type": "string", "description": "姓名" }, "startTime": { "type": "string", "description": "开始时间" }, "endTime": { "type": "string", "description": "结束时间" } } }, "OrderItem": { "type": "object", "properties": { "column": { "type": "string", "description": "" }, "asc": { "type": "boolean", "description": "" } } }, "AddAgentWithdrawDTO": { "type": "object", "properties": { "amount": { "type": "number", "description": "提现金额" }, "type": { "type": "integer", "description": "提现类型:1 银行卡 2 U" }, "bankName": { "type": "string", "description": "银行名称" }, "bankAccount": { "type": "string", "description": "银行卡账号" }, "realName": { "type": "string", "description": "姓名" } } } }, "responses": {}, "securitySchemes": { "bearer": { "type": "http", "scheme": "bearer" } } }, "servers": [], "security": [] }