zhangchuanxing 4 luni în urmă
părinte
comite
c2b7e92961
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      services/cygx/activity_special.go

+ 3 - 3
services/cygx/activity_special.go

@@ -135,11 +135,11 @@ func ActivitySpecialCompanyApproval(companyId, companyContractId int, companyNam
 	itemBill.DoType = 2
 	itemBill.Way = 3
 	if userType == 2 {
-		packageTypeMap := map[int]int{1: 16, 2: 10}
+		packageTypeMap := map[int]int{1: 16, 2: 12}
 		totalTrip := packageTypeMap[packageType]
 		itemBill.BillDetailed = totalTrip
 		itemBill.Total = strconv.Itoa(itemBill.BillDetailed) + "次"
-		if totalTrip == 10 {
+		if packageType == 2 {
 			itemBill.Content = "45w大套餐转正"
 		} else {
 			itemBill.Content = "70w大套餐转正"
@@ -243,4 +243,4 @@ func ActivitySpecialCompanyApproval(companyId, companyContractId int, companyNam
 		}
 	}
 	return
-}
+}