Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/master'

Reiskuchen 5 anni fa
parent
commit
e44143995a
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      minigame/src/com/hssx/controller/PrizeController.java

+ 3 - 3
minigame/src/com/hssx/controller/PrizeController.java

@@ -84,8 +84,8 @@ public class PrizeController {
 			response.getWriter().println(msg.toJSONStr());
 			return;
 		}
-		// if (luckDrawCount == 0) {
-		// 直接抽奖
+		// if (luckDrawCount <= 1) {
+		// 直接抽奖(每日默认2次抽奖机会)
 		count = getLuckDraw(prizeRecord, count);
 		// 添加抽奖记录
 		UserPrizeCount userPrizeCount = new UserPrizeCount();
@@ -94,7 +94,7 @@ public class PrizeController {
 		map.put("prizeLevel", count);
 		map.put("prizeRecord", prizeRecord);
 		msg.data = map;
-		// } else if (luckDrawCount == 1) {
+		// } else if (luckDrawCount == 2) {
 		// int opportunityCount =
 		// prizeOpportunityMapper.selectCountByToday(userId);
 		// if (opportunityCount > 0) {