| @@ -96,7 +96,7 @@ public class WxGameController extends BaseController { | |||||
| @ApiImplicitParams({ | @ApiImplicitParams({ | ||||
| @ApiImplicitParam(name = "gameId", value = "游戏ID", dataType = "String", paramType = "query", required = true)}) | @ApiImplicitParam(name = "gameId", value = "游戏ID", dataType = "String", paramType = "query", required = true)}) | ||||
| public ResultData freeGameGo(@RequestBody Map<String,String> paramMap) { | public ResultData freeGameGo(@RequestBody Map<String,String> paramMap) { | ||||
| try { | |||||
| // try { | |||||
| Long gameIdL = Long.valueOf(paramMap.get("gameId")); | Long gameIdL = Long.valueOf(paramMap.get("gameId")); | ||||
| if(gameIdL == null){ | if(gameIdL == null){ | ||||
| return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL); | return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL); | ||||
| @@ -121,9 +121,9 @@ public class WxGameController extends BaseController { | |||||
| ResultData resultData = wxGameService.luckDraw(gameIdL, getMemberId(),0); | ResultData resultData = wxGameService.luckDraw(gameIdL, getMemberId(),0); | ||||
| removeCacheCUser(); | removeCacheCUser(); | ||||
| return resultData; | return resultData; | ||||
| } catch (Exception e){ | |||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); | |||||
| } | |||||
| // } catch (Exception e){ | |||||
| // return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); | |||||
| // } | |||||
| } | } | ||||
| @@ -132,7 +132,7 @@ public class WxGameController extends BaseController { | |||||
| @ApiImplicitParams({ | @ApiImplicitParams({ | ||||
| @ApiImplicitParam(name = "gameId", value = "游戏ID", dataType = "String", paramType = "query", required = true)}) | @ApiImplicitParam(name = "gameId", value = "游戏ID", dataType = "String", paramType = "query", required = true)}) | ||||
| public ResultData freeCridetGameGo(@RequestBody Map<String,String> paramMap) { | public ResultData freeCridetGameGo(@RequestBody Map<String,String> paramMap) { | ||||
| try { | |||||
| // try { | |||||
| Long gameIdL = Long.valueOf(paramMap.get("gameId")); | Long gameIdL = Long.valueOf(paramMap.get("gameId")); | ||||
| if(gameIdL == null){ | if(gameIdL == null){ | ||||
| return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL); | return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL); | ||||
| @@ -163,9 +163,9 @@ public class WxGameController extends BaseController { | |||||
| ResultData resultData = wxGameService.cridetLuckDraw(gameIdL, getMemberId()); | ResultData resultData = wxGameService.cridetLuckDraw(gameIdL, getMemberId()); | ||||
| removeCacheCUser(); | removeCacheCUser(); | ||||
| return resultData; | return resultData; | ||||
| } catch (Exception e){ | |||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); | |||||
| } | |||||
| // } catch (Exception e){ | |||||
| // return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); | |||||
| // } | |||||
| } | } | ||||