|
@@ -130,12 +130,13 @@ func (l *GetLabelRelationshipListLogic) GetLabelRelationshipList(req *types.Labe
|
|
|
for _, v := range data.List {
|
|
|
c := v.Edges.Contacts
|
|
|
label := v.Edges.Labels
|
|
|
+ wwx := wxWxidsSet[c.WxWxid]
|
|
|
logx.Info("c", c)
|
|
|
logx.Info("label", label)
|
|
|
- if c == nil || label == nil {
|
|
|
+ logx.Info("wwx", wwx)
|
|
|
+ if c == nil || label == nil || wwx == nil {
|
|
|
continue
|
|
|
}
|
|
|
- wwx := wxWxidsSet[c.WxWxid]
|
|
|
labelRelationships := make([]types.ContactLabelList, 0)
|
|
|
labelRelationships = append(labelRelationships, types.ContactLabelList{
|
|
|
Label: &label.Name,
|