@@ -430,7 +430,7 @@ func GetWithdrawApplyList(c *gin.Context) { | |||||
// @Param req body md.WithdrawApplyAuditReq false "筛选条件" | // @Param req body md.WithdrawApplyAuditReq false "筛选条件" | ||||
// @Success 200 {string} "success" | // @Success 200 {string} "success" | ||||
// @Failure 400 {object} md.Response "具体错误" | // @Failure 400 {object} md.Response "具体错误" | ||||
// @Router /api/financialCenter/withdraw/applyList [POST] | |||||
// @Router /api/financialCenter/withdraw/audit [POST] | |||||
func WithdrawApplyAudit(c *gin.Context) { | func WithdrawApplyAudit(c *gin.Context) { | ||||
var req *md.WithdrawApplyAuditReq | var req *md.WithdrawApplyAuditReq | ||||
if err1 := c.ShouldBindJSON(&req); err1 != nil { | if err1 := c.ShouldBindJSON(&req); err1 != nil { | ||||
@@ -1458,6 +1458,52 @@ const docTemplate = `{ | |||||
} | } | ||||
}, | }, | ||||
"/api/financialCenter/withdraw/applyList": { | "/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": { | "post": { | ||||
"description": "提现审核", | "description": "提现审核", | ||||
"consumes": [ | "consumes": [ | ||||
@@ -1451,6 +1451,52 @@ | |||||
} | } | ||||
}, | }, | ||||
"/api/financialCenter/withdraw/applyList": { | "/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": { | "post": { | ||||
"description": "提现审核", | "description": "提现审核", | ||||
"consumes": [ | "consumes": [ | ||||
@@ -5703,6 +5703,36 @@ paths: | |||||
tags: | tags: | ||||
- Demo | - Demo | ||||
/api/financialCenter/withdraw/applyList: | /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: | post: | ||||
consumes: | consumes: | ||||
- application/json | - application/json | ||||