|
@@ -26,7 +26,6 @@ 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.*;
|
|
import java.util.*;
|
|
import java.util.concurrent.TimeUnit;
|
|
import java.util.concurrent.TimeUnit;
|
|
@@ -85,10 +84,10 @@ public class CallBackServiceImpl implements ICallBackService {
|
|
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"));
|
|
|
|
|
|
+ List<Integer> amountList = new ArrayList<>();
|
|
|
|
+ amountList.add(10);
|
|
|
|
+ amountList.add(20);
|
|
|
|
+ amountList.add(30);
|
|
resultMap.put("amount", amountList);
|
|
resultMap.put("amount", amountList);
|
|
|
|
|
|
|
|
|
|
@@ -174,6 +173,7 @@ public class CallBackServiceImpl implements ICallBackService {
|
|
resultMap.put("callBack", orderBackQueryRpcVO.getDoBack());
|
|
resultMap.put("callBack", orderBackQueryRpcVO.getDoBack());
|
|
resultMap.put("backMsg", orderBackQueryRpcVO.getBackMsg());
|
|
resultMap.put("backMsg", orderBackQueryRpcVO.getBackMsg());
|
|
if (Objects.equals(orderBackQueryRpcVO.getDoBack(), Boolean.TRUE)) {
|
|
if (Objects.equals(orderBackQueryRpcVO.getDoBack(), Boolean.TRUE)) {
|
|
|
|
+
|
|
resultMap.put("amount", orderBackQueryRpcVO.getBackMoney());
|
|
resultMap.put("amount", orderBackQueryRpcVO.getBackMoney());
|
|
}
|
|
}
|
|
break;
|
|
break;
|