|
@@ -93,9 +93,13 @@ func (l *SearchListLogic) SearchList(req *types.SearchReq) (resp *types.CommonRe
|
|
d := common.StructToMapMore(v)
|
|
d := common.StructToMapMore(v)
|
|
for name, t1 := range sm {
|
|
for name, t1 := range sm {
|
|
ts, _ := t1.(bool)
|
|
ts, _ := t1.(bool)
|
|
- if v1, ok := d[name]; ok && v1 != "" && v1 != 0 && ts {
|
|
|
|
- d[name] = detailMosaicTxt
|
|
|
|
|
|
+ if !ts {
|
|
|
|
+ continue
|
|
}
|
|
}
|
|
|
|
+ d[name] = detailMosaicTxt
|
|
|
|
+ //if v1, ok := d[name]; ok && v1 != "" && v1 != 0 && ts {
|
|
|
|
+ // d[name] = detailMosaicTxt
|
|
|
|
+ //}
|
|
}
|
|
}
|
|
data = append(data, d)
|
|
data = append(data, d)
|
|
}
|
|
}
|