dengbiao пре 1 недеља
родитељ
комит
a6f1c28b8f
4 измењених фајлова са 123 додато и 1 уклоњено
  1. +1
    -1
      app/hdl/financial_center/hdl_withdraw.go
  2. +46
    -0
      docs/docs.go
  3. +46
    -0
      docs/swagger.json
  4. +30
    -0
      docs/swagger.yaml

+ 1
- 1
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 {


+ 46
- 0
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": [


+ 46
- 0
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": [


+ 30
- 0
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


Loading…
Откажи
Сачувај