From 3c628f4e3185b79b03bb60449bce8e9decb8efc1 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Tue, 19 Nov 2024 15:27:51 +0800 Subject: [PATCH] update --- app/hdl/institutional_management/public_platoon/hdl_basic.go | 3 ++- .../public_platoon/md_public_platoon.go | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/hdl/institutional_management/public_platoon/hdl_basic.go b/app/hdl/institutional_management/public_platoon/hdl_basic.go index b724b9a..80ec94b 100644 --- a/app/hdl/institutional_management/public_platoon/hdl_basic.go +++ b/app/hdl/institutional_management/public_platoon/hdl_basic.go @@ -167,7 +167,8 @@ func SelectMember(c *gin.Context) { } resp := md.SelectMemberResp{ - List: list, + LevelList: levelsList, + List: list, Paginate: md.Paginate{ Limit: req.Limit, Page: req.Page, diff --git a/app/md/institutional_management/public_platoon/md_public_platoon.go b/app/md/institutional_management/public_platoon/md_public_platoon.go index 3dcdb20..e7490ae 100644 --- a/app/md/institutional_management/public_platoon/md_public_platoon.go +++ b/app/md/institutional_management/public_platoon/md_public_platoon.go @@ -70,8 +70,9 @@ type SelectMemberNode struct { } type SelectMemberResp struct { - List []SelectMemberNode `json:"list"` // 会员数据 - Paginate Paginate `json:"paginate"` // 分页信息 + LevelList []map[string]interface{} `json:"level_list"` // 会员等级列表 + List []SelectMemberNode `json:"list"` // 会员数据 + Paginate Paginate `json:"paginate"` // 分页信息 } type TreeNode struct {