From 1592fb4cc6b6387149f9729f5bd2f19a28057d0a Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期五, 12 九月 2025 11:26:51 +0800 Subject: [PATCH] bug修改 --- cloud-server-other/src/main/java/com/dsh/other/controller/GameController.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/controller/GameController.java b/cloud-server-other/src/main/java/com/dsh/other/controller/GameController.java index 0562ff8..720cc2b 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/controller/GameController.java +++ b/cloud-server-other/src/main/java/com/dsh/other/controller/GameController.java @@ -271,6 +271,7 @@ ResultUtil alipay = payMoneyUtil.alipay(smid1,"游戏支付", "游戏支付", params, code, config.getCash().toString(), "/base/game/aliPaymentGameCallback"); if (alipay.getCode() == 200) { + String finalSmid = smid1; new Thread(new Runnable() { @Override public void run() { @@ -314,7 +315,8 @@ } gameRecordService.updateBatchById(list); Integer integer = startGame(uid, gameType, gameId, spaceId, sutuId); - + Thread.sleep(30000); + payMoneyUtil.confirm(finalSmid, code, one.getOrderNo(), config.getCash().toString()); break; } if ("WAIT_BUYER_PAY".equals(s)) { @@ -395,7 +397,7 @@ map.put("space_id", spaceId + ""); map.put("red_sutu_id", game.getRed()); map.put("blue_sutu_id", game.getBlue()); - map.put("api_url", "http://221.182.45.100:56666/communityWorldCup/base/worldCup/endWorldCupCallback"); + map.put("api_url", "https://online.daowepark.com:443/communityWorldCup/base/worldCup/endWorldCupCallback"); map.put("custom", "{\"gameType\": 2}"); String s = HttpRequestUtil.postRequest("https://port.daowepark.com/v7/user_api/general/quickStart", map); -- Gitblit v1.7.1