Sfoglia il codice sorgente

Merge branch 'master' of http://8.136.199.33:3000/hongze/hongze_clpt into debug

zhangchuanxing 3 settimane fa
parent
commit
1d66317f6c
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      services/resource_data.go

+ 6 - 0
services/resource_data.go

@@ -476,6 +476,12 @@ func GetResourceDataList(condition string, pars []interface{}, startSize, pageSi
 				continue
 			}
 			if v.SourceId == vList.SourceId && v.Source == vList.Source {
+				if v.Activityvideo != nil {
+					v.SourceId = v.Activityvideo.SourceId
+				}
+				if v.Activityvoice != nil {
+					v.SourceId = v.Activityvoice.SourceId
+				}
 				items = append(items, v)
 			}
 		}