瀏覽代碼

cuser

release_toaliyun_real
xhxu 5 年之前
父節點
當前提交
217a534296
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. +4
    -4
      mallinkCApi/src/main/java/com/iformall/controller/WxGameController.java

+ 4
- 4
mallinkCApi/src/main/java/com/iformall/controller/WxGameController.java 查看文件

@@ -99,7 +99,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) {
logger.info("freeGameGo-------"+paramMap.get("gameId"));
logger.info("freeGameGo----start-------"+paramMap.get("gameId"));
try { try {
Long gameIdL = Long.valueOf(paramMap.get("gameId")); Long gameIdL = Long.valueOf(paramMap.get("gameId"));
if(gameIdL == null){ if(gameIdL == null){
@@ -128,7 +128,7 @@ public class WxGameController extends BaseController {
return new ResultData(ErrorCode.getByCode(e.getErrorCode())); return new ResultData(ErrorCode.getByCode(e.getErrorCode()));
} catch (Exception e){ } catch (Exception e){
e.printStackTrace(); e.printStackTrace();
logger.info("freeGameGo-------"+e.getMessage());
logger.info("freeGameGo----error-------"+e.getMessage()+e.toString());
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); return new ResultData(ErrorCode.SYS_PARAMETER_ERROR);
} }


@@ -139,7 +139,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) {
logger.info("freeCridetGameGo-------"+paramMap.get("gameId"));
logger.info("freeCridetGameGo-----start-------"+paramMap.get("gameId"));
try { try {
Long gameIdL = Long.valueOf(paramMap.get("gameId")); Long gameIdL = Long.valueOf(paramMap.get("gameId"));
if(gameIdL == null){ if(gameIdL == null){
@@ -174,7 +174,7 @@ public class WxGameController extends BaseController {
return new ResultData(ErrorCode.getByCode(e.getErrorCode())); return new ResultData(ErrorCode.getByCode(e.getErrorCode()));
} catch (Exception e){ } catch (Exception e){
e.printStackTrace(); e.printStackTrace();
logger.info("freeCridetGameGo-------"+e.getMessage());
logger.info("freeCridetGameGo------error-------"+e.getMessage()+e.toString());
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); return new ResultData(ErrorCode.SYS_PARAMETER_ERROR);
} }




Loading…
取消
儲存