zhangchuanxing 3 mesi fa
parent
commit
cd6e74e26c
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      controllers/report.go

+ 5 - 0
controllers/report.go

@@ -4511,6 +4511,11 @@ func (this *ReportController) ChooseSubmitFollowType() {
 				item.RealName = user.RealName
 				item.Type = 1
 				item.FollowType = followType
+				if followType == 3 {
+					item.FollowType = -1
+				} else {
+					item.FollowType = followType
+				}
 				item.CreateTime = time.Now()
 				item.ModifyTime = time.Now()
 				item.Source = 2