| | |
| | | } else if (type == 2) { |
| | | // Integer gameId, Integer configId,Integer type,Integer sutuId,Integer spaceId; |
| | | |
| | | String params = uid + "_" + gameId + "_" + spaceId + "_" + sutuId; |
| | | String params = uid + "_" + gameId + "_" + spaceId + "_" + sutuId+"_"+code+"_"+configId; |
| | | |
| | | ResultUtil alipay = payMoneyUtil.alipay("游戏支付", "游戏支付", params, code, config.getCash().toString(), "/base/site/gameCallback"); |
| | | if (alipay.getCode() == 200) { |
| | |
| | | JSONObject jsonObject = JSONObject.parseObject(s); |
| | | Object code = jsonObject.get("code"); |
| | | if (String.valueOf(code) != null && "200".equals(String.valueOf(code))) { |
| | | System.err.println("--------------启动了一次游戏"); |
| | | return 200; |
| | | } else { |
| | | return 500; |