|
@@ -26,11 +26,9 @@ import org.apache.logging.log4j.util.Strings;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
+import java.math.BigDecimal;
|
|
import java.time.LocalDateTime;
|
|
import java.time.LocalDateTime;
|
|
-import java.util.Collections;
|
|
|
|
-import java.util.HashMap;
|
|
|
|
-import java.util.Map;
|
|
|
|
-import java.util.Objects;
|
|
|
|
|
|
+import java.util.*;
|
|
import java.util.concurrent.TimeUnit;
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -85,6 +83,15 @@ public class CallBackServiceImpl implements ICallBackService {
|
|
resultMap.put("callBackTypeEnum", param.getCallBackTypeEnum().getValue());
|
|
resultMap.put("callBackTypeEnum", param.getCallBackTypeEnum().getValue());
|
|
resultMap.put("userId", userData.getUserId());
|
|
resultMap.put("userId", userData.getUserId());
|
|
resultMap.put("gameId", userData.getGameId());
|
|
resultMap.put("gameId", userData.getGameId());
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ List<BigDecimal> amountList = new ArrayList<>();
|
|
|
|
+ amountList.add(new BigDecimal("10.00"));
|
|
|
|
+ amountList.add(new BigDecimal("20.00"));
|
|
|
|
+ amountList.add(new BigDecimal("30.00"));
|
|
|
|
+ resultMap.put("amount", amountList);
|
|
|
|
+
|
|
|
|
+
|
|
//事件类型枚举
|
|
//事件类型枚举
|
|
CallBackTypeEnum callBackTypeEnum = param.getCallBackTypeEnum();
|
|
CallBackTypeEnum callBackTypeEnum = param.getCallBackTypeEnum();
|
|
Game game = gameService.getById(userData.getGameId());
|
|
Game game = gameService.getById(userData.getGameId());
|