ziwen 1 yıl önce
ebeveyn
işleme
5f92cfbff8
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      controllers/activity_special.go

+ 2 - 2
controllers/activity_special.go

@@ -328,12 +328,12 @@ func (this *ActivitySpecialCoAntroller) SpecialTripAdd() {
 				return
 			}
 			if userType == 2 {
-				tripRemaining = tripRemaining-itemBill.BillDetailed
+				tripRemaining = tripRemaining+itemBill.BillDetailed
 				itemBill.Total = strconv.Itoa(tripRemaining) + "次"
 			} else {
 				for k, num := range mapChartName {
 					if activityInfo.ChartPermissionName == k {
-						num = num- itemBill.BillDetailed
+						num = num+ itemBill.BillDetailed
 					}
 					itemBill.Total += k + strconv.Itoa(num) + "次+"
 				}