|
|
|
@@ -99,7 +99,7 @@ public class WxGameController extends BaseController { |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "gameId", value = "游戏ID", dataType = "String", paramType = "query", required = true)}) |
|
|
|
public ResultData freeGameGo(@RequestBody Map<String,String> paramMap) { |
|
|
|
logger.info("freeGameGo-------"+paramMap.get("gameId")); |
|
|
|
logger.info("freeGameGo----start-------"+paramMap.get("gameId")); |
|
|
|
try { |
|
|
|
Long gameIdL = Long.valueOf(paramMap.get("gameId")); |
|
|
|
if(gameIdL == null){ |
|
|
|
@@ -128,7 +128,7 @@ public class WxGameController extends BaseController { |
|
|
|
return new ResultData(ErrorCode.getByCode(e.getErrorCode())); |
|
|
|
} catch (Exception e){ |
|
|
|
e.printStackTrace(); |
|
|
|
logger.info("freeGameGo-------"+e.getMessage()); |
|
|
|
logger.info("freeGameGo----error-------"+e.getMessage()+e.toString()); |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); |
|
|
|
} |
|
|
|
|
|
|
|
@@ -139,7 +139,7 @@ public class WxGameController extends BaseController { |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "gameId", value = "游戏ID", dataType = "String", paramType = "query", required = true)}) |
|
|
|
public ResultData freeCridetGameGo(@RequestBody Map<String,String> paramMap) { |
|
|
|
logger.info("freeCridetGameGo-------"+paramMap.get("gameId")); |
|
|
|
logger.info("freeCridetGameGo-----start-------"+paramMap.get("gameId")); |
|
|
|
try { |
|
|
|
Long gameIdL = Long.valueOf(paramMap.get("gameId")); |
|
|
|
if(gameIdL == null){ |
|
|
|
@@ -174,7 +174,7 @@ public class WxGameController extends BaseController { |
|
|
|
return new ResultData(ErrorCode.getByCode(e.getErrorCode())); |
|
|
|
} catch (Exception e){ |
|
|
|
e.printStackTrace(); |
|
|
|
logger.info("freeCridetGameGo-------"+e.getMessage()); |
|
|
|
logger.info("freeCridetGameGo------error-------"+e.getMessage()+e.toString()); |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); |
|
|
|
} |
|
|
|
|
|
|
|
|