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 {