diff --git a/app/hdl/financial_center/hdl_withdraw.go b/app/hdl/financial_center/hdl_withdraw.go index fac0e71..d700c8d 100644 --- a/app/hdl/financial_center/hdl_withdraw.go +++ b/app/hdl/financial_center/hdl_withdraw.go @@ -397,6 +397,16 @@ func GetWithdrawApplyList(c *gin.Context) { } resp := md.GetWithdrawApplyListResp{ + AuditList: []map[string]interface{}{ + { + "value": 1, + "name": "同意", + }, + { + "value": 2, + "name": "拒绝", + }, + }, ReasonList: []map[string]interface{}{ { "value": enum.FinWithdrawApplyReasonForNotRule, diff --git a/app/md/financial_center/md_withdraw.go b/app/md/financial_center/md_withdraw.go index c30196b..73ae562 100644 --- a/app/md/financial_center/md_withdraw.go +++ b/app/md/financial_center/md_withdraw.go @@ -91,6 +91,7 @@ type WithdrawApplyInfo struct { } type GetWithdrawApplyListResp struct { + AuditList []map[string]interface{} `json:"audit_list"` // 审核条件 ReasonList []map[string]interface{} `json:"reason_list"` // 审核失败(驳回理由) LevelsList []map[string]interface{} `json:"levels_list"` // 等级列表 TagsList []map[string]interface{} `json:"tags_list"` // 标签列表 diff --git a/docs/docs.go b/docs/docs.go index cbf29b4..7f73c73 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1,5 +1,4 @@ -// Code generated by swaggo/swag. DO NOT EDIT. - +// Package docs Code generated by swaggo/swag. DO NOT EDIT package docs import "github.com/swaggo/swag" @@ -1656,9 +1655,7 @@ const docTemplate = `{ "name": "req", "in": "body", "required": true, - "schema": { - "type": "object" - } + "schema": {} } ], "responses": { @@ -13622,6 +13619,14 @@ const docTemplate = `{ "md.GetWithdrawApplyListResp": { "type": "object", "properties": { + "audit_list": { + "description": "审核条件", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + }, "levels_list": { "description": "等级列表", "type": "array", @@ -16838,6 +16843,9 @@ const docTemplate = `{ "description": "头像", "type": "string" }, + "custom_invite_code": { + "type": "string" + }, "id": { "description": "会员 ID", "type": "integer" @@ -17755,6 +17763,8 @@ var SwaggerInfo = &swag.Spec{ Description: "管理后台接口文档", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, + LeftDelim: "{{", + RightDelim: "}}", } func init() { diff --git a/docs/swagger.json b/docs/swagger.json index 717392f..1fedda4 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -1648,9 +1648,7 @@ "name": "req", "in": "body", "required": true, - "schema": { - "type": "object" - } + "schema": {} } ], "responses": { @@ -13614,6 +13612,14 @@ "md.GetWithdrawApplyListResp": { "type": "object", "properties": { + "audit_list": { + "description": "审核条件", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + }, "levels_list": { "description": "等级列表", "type": "array", @@ -16830,6 +16836,9 @@ "description": "头像", "type": "string" }, + "custom_invite_code": { + "type": "string" + }, "id": { "description": "会员 ID", "type": "integer" diff --git a/docs/swagger.yaml b/docs/swagger.yaml index c4fba46..18a7115 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -2663,6 +2663,12 @@ definitions: type: object md.GetWithdrawApplyListResp: properties: + audit_list: + description: 审核条件 + items: + additionalProperties: true + type: object + type: array levels_list: description: 等级列表 items: @@ -4897,6 +4903,8 @@ definitions: avatar: description: 头像 type: string + custom_invite_code: + type: string id: description: 会员 ID type: integer @@ -6605,8 +6613,7 @@ paths: in: body name: req required: true - schema: - type: object + schema: {} produces: - application/json responses: