...
|
...
|
@@ -791,10 +791,10 @@ func CheckChanceDifferent(header *protocol.RequestHeader, chance *models.Chance, |
|
|
if (len(videos) > 0 && len(request.Videos) == 0) && len(pictures) > 0 && len(request.Pictures) == 0 {
|
|
|
modifyLog.RemoveAllPhotoVideo = true
|
|
|
}
|
|
|
if (len(videos) > 0 && len(request.Videos) == 0) && len(pictures) == len(request.Pictures) {
|
|
|
if (len(videos) > 0 && len(request.Videos) == 0) && (len(pictures) == len(request.Pictures) && len(pictures) == 0) {
|
|
|
modifyLog.RemoveAllPhotoVideo = true
|
|
|
}
|
|
|
if (len(videos) == len(request.Videos)) && len(pictures) > 0 && len(request.Pictures) == 0 {
|
|
|
if (len(videos) == len(request.Videos) && len(videos) == 0) && len(pictures) > 0 && len(request.Pictures) == 0 {
|
|
|
modifyLog.RemoveAllPhotoVideo = true
|
|
|
}
|
|
|
if len(speechs) > 0 && len(request.Speechs) == 0 {
|
...
|
...
|
|