@@ -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, | |||
@@ -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"` // 标签列表 | |||
@@ -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() { | |||
@@ -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" | |||
@@ -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: | |||