master
jiahuiwen 2021-10-27 14:06:50 +08:00
parent 5272dc8c01
commit 7e58454a6f
1 changed files with 1 additions and 4 deletions

View File

@ -111,16 +111,13 @@ public class HaoGameRechargeController {
}
@RequestMapping(value = "/haoGameCallback")
public String haoGameCallback(HttpServletRequest request, @RequestBody HaoGameParam haoGamePram) throws Exception {
public String haoGameCallback(HttpServletRequest request) throws Exception {
LOGGER.info("haoGameCallback 收到好游戏支付回调");
HashMap<String, String> parameterMap = JsonUtil.getInstence().getParameterMapYX(request);
if (parameterMap.isEmpty()) {
LOGGER.info("data is null");
return "failure";
}
LOGGER.info("haoGameCallback parameterMap getOuttradeno={} getTradeno={} getAmount={} getExtra={} getOpenid={} ",
haoGamePram.getOuttradeno(), haoGamePram.getTradeno(), haoGamePram.getAmount(),
haoGamePram.getExtra(), haoGamePram.getOpenid());
String outtradeno = parameterMap.get("outtradeno");
String orderId = parameterMap.get("tradeno");
String status = parameterMap.get("status");