@@ -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 { | |||
@@ -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": [ | |||
@@ -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": [ | |||
@@ -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 | |||