|
|
|
@ -93,8 +93,7 @@ func (t *Trend) GetList(loginUserId, userId uint, page lib.Page) *recook.TrendLi
|
|
|
|
|
(&short.Short{}).GetDb().Where("id=?", k.OriginID).First(&a)
|
|
|
|
|
list.List[i].Compliance = a.Compliance
|
|
|
|
|
list.List[i].PassStatus = a.Pass
|
|
|
|
|
}
|
|
|
|
|
if len(k.ImgList) > 1 {
|
|
|
|
|
} else if len(k.ImgList) >= 1 {
|
|
|
|
|
var gm momentscopy.MomentsCopy
|
|
|
|
|
(&momentscopy.MomentsCopy{}).GetDb().Where("id=?", k.OriginID).First(&gm)
|
|
|
|
|
list.List[i].Compliance = gm.Compliance
|
|
|
|
|