From a6f1c28b8f3148f5feab7c9514d74725777f7c5c Mon Sep 17 00:00:00 2001 From: dengbiao Date: Thu, 5 Dec 2024 15:08:28 +0800 Subject: [PATCH] update --- app/hdl/financial_center/hdl_withdraw.go | 2 +- docs/docs.go | 46 ++++++++++++++++++++++++ docs/swagger.json | 46 ++++++++++++++++++++++++ docs/swagger.yaml | 30 ++++++++++++++++ 4 files changed, 123 insertions(+), 1 deletion(-) diff --git a/app/hdl/financial_center/hdl_withdraw.go b/app/hdl/financial_center/hdl_withdraw.go index eedcd16..0b6dc93 100644 --- a/app/hdl/financial_center/hdl_withdraw.go +++ b/app/hdl/financial_center/hdl_withdraw.go @@ -430,7 +430,7 @@ func GetWithdrawApplyList(c *gin.Context) { // @Param req body md.WithdrawApplyAuditReq false "筛选条件" // @Success 200 {string} "success" // @Failure 400 {object} md.Response "具体错误" -// @Router /api/financialCenter/withdraw/applyList [POST] +// @Router /api/financialCenter/withdraw/audit [POST] func WithdrawApplyAudit(c *gin.Context) { var req *md.WithdrawApplyAuditReq if err1 := c.ShouldBindJSON(&req); err1 != nil { diff --git a/docs/docs.go b/docs/docs.go index 507a1d9..954a2c8 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1458,6 +1458,52 @@ const docTemplate = `{ } }, "/api/financialCenter/withdraw/applyList": { + "post": { + "description": "提现申请列表(获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "提现" + ], + "summary": "财务中心-提现-提现申请列表(获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "筛选条件", + "name": "req", + "in": "body", + "schema": { + "$ref": "#/definitions/md.GetWithdrawApplyListReq" + } + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.GetWithdrawApplyListResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/financialCenter/withdraw/audit": { "post": { "description": "提现审核", "consumes": [ diff --git a/docs/swagger.json b/docs/swagger.json index 4bb2aaf..97493c9 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -1451,6 +1451,52 @@ } }, "/api/financialCenter/withdraw/applyList": { + "post": { + "description": "提现申请列表(获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "提现" + ], + "summary": "财务中心-提现-提现申请列表(获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "筛选条件", + "name": "req", + "in": "body", + "schema": { + "$ref": "#/definitions/md.GetWithdrawApplyListReq" + } + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.GetWithdrawApplyListResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/financialCenter/withdraw/audit": { "post": { "description": "提现审核", "consumes": [ diff --git a/docs/swagger.yaml b/docs/swagger.yaml index dea4c30..af41452 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -5703,6 +5703,36 @@ paths: tags: - Demo /api/financialCenter/withdraw/applyList: + post: + consumes: + - application/json + description: 提现申请列表(获取) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 筛选条件 + in: body + name: req + schema: + $ref: '#/definitions/md.GetWithdrawApplyListReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.GetWithdrawApplyListResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 财务中心-提现-提现申请列表(获取) + tags: + - 提现 + /api/financialCenter/withdraw/audit: post: consumes: - application/json