ziwen 1 year ago
parent
commit
5f92cfbff8
1 changed files with 2 additions and 2 deletions
  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) + "次+"
 				}