Browse Source

领取线索优化

xuzhiheng 1 năm trước cách đây
mục cha
commit
fec61dee80
1 tập tin đã thay đổi với 6 bổ sung6 xóa
  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
 			}
 		}