laotang_0714

master
tangchangquan 4 years ago
parent 6c7323f875
commit b13a92cdbb

@ -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

Loading…
Cancel
Save