Explorar el Código

cuser

release_toaliyun_real
xhxu hace 5 años
padre
commit
217a534296
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. +4
    -4
      mallinkCApi/src/main/java/com/iformall/controller/WxGameController.java

+ 4
- 4
mallinkCApi/src/main/java/com/iformall/controller/WxGameController.java Ver fichero

@@ -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);
} }




Cargando…
Cancelar
Guardar