Procházet zdrojové kódy

领取线索优化

xuzhiheng před 1 rokem
rodič
revize
fec61dee80
1 změnil soubory, kde provedl 6 přidání a 6 odebrání
  1. 6 6
      service/clue.go

+ 6 - 6
service/clue.go

@@ -598,8 +598,8 @@ func DrawClues(positionId, count1, count2, count3 int64) int {
 					counts++
 				}
 			}
-			if counts == count1 {
-				drawCount += count1
+			if counts == int(count1) {
+				drawCount += int(count1)
 				break
 			}
 		}
@@ -616,8 +616,8 @@ func DrawClues(positionId, count1, count2, count3 int64) int {
 					counts++
 				}
 			}
-			if counts == count2 {
-				drawCount += count2
+			if counts == int(count2) {
+				drawCount += int(count2)
 				break
 			}
 		}
@@ -634,8 +634,8 @@ func DrawClues(positionId, count1, count2, count3 int64) int {
 					counts++
 				}
 			}
-			if counts == count3 {
-				drawCount += count3
+			if counts == int(count3) {
+				drawCount += int(count3)
 				break
 			}
 		}