添加公会会长名称
This commit is contained in:
parent
6b4beb5765
commit
26bfe55c18
@ -163,18 +163,19 @@ func (this *SociatyListView) dataListener() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for i, v := range rsp.List {
|
for i, v := range rsp.List {
|
||||||
memberCount := len(v.Members)
|
dsociaty := v.DbSociaty
|
||||||
|
memberCount := len(dsociaty.Members)
|
||||||
|
|
||||||
var isApplyCheckLbl string
|
var isApplyCheckLbl string
|
||||||
if v.IsApplyCheck {
|
if dsociaty.IsApplyCheck {
|
||||||
isApplyCheckLbl = "需要审核"
|
isApplyCheckLbl = "需要审核"
|
||||||
} else {
|
} else {
|
||||||
isApplyCheckLbl = "无需审核"
|
isApplyCheckLbl = "无需审核"
|
||||||
}
|
}
|
||||||
lbl := fmt.Sprintf("%d - %-15s 等级:%-5d 等级限制:%-5d (%d) %10v",
|
lbl := fmt.Sprintf("%d - %-15s 等级:%-5d 等级限制:%-5d (%d) %10v",
|
||||||
i+1, v.Name, v.Lv, v.ApplyLv, memberCount, isApplyCheckLbl)
|
i+1, dsociaty.Name, dsociaty.Lv, dsociaty.ApplyLv, memberCount, isApplyCheckLbl)
|
||||||
item := common.Item{
|
item := common.Item{
|
||||||
Id: v.Id,
|
Id: dsociaty.Id,
|
||||||
Text: lbl,
|
Text: lbl,
|
||||||
Data: v,
|
Data: v,
|
||||||
}
|
}
|
||||||
|
1391
pb/sociaty_msg.pb.go
1391
pb/sociaty_msg.pb.go
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user