瀏覽代碼

update

master
dengbiao 1 天之前
父節點
當前提交
11d34c5d76
共有 5 個檔案被更改,包括 47 行新增10 行删除
  1. +10
    -0
      app/hdl/financial_center/hdl_withdraw.go
  2. +1
    -0
      app/md/financial_center/md_withdraw.go
  3. +15
    -5
      docs/docs.go
  4. +12
    -3
      docs/swagger.json
  5. +9
    -2
      docs/swagger.yaml

+ 10
- 0
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,


+ 1
- 0
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"` // 标签列表


+ 15
- 5
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() {


+ 12
- 3
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"


+ 9
- 2
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:


Loading…
取消
儲存