| @@ -1,6 +1,5 @@ | |||||
| package com.iformall.controller; | package com.iformall.controller; | ||||
| import com.iformall.annotation.AuthIgnore; | |||||
| import com.iformall.common.ErrorCode; | import com.iformall.common.ErrorCode; | ||||
| import com.iformall.common.ResultData; | import com.iformall.common.ResultData; | ||||
| import com.iformall.domain.po.*; | import com.iformall.domain.po.*; | ||||
| @@ -75,7 +74,6 @@ public class WxGameController extends BaseController { | |||||
| } | } | ||||
| @AuthIgnore | |||||
| @ApiOperation("添加游戏参与记录") | @ApiOperation("添加游戏参与记录") | ||||
| @GetMapping("getCount") | @GetMapping("getCount") | ||||
| @ApiImplicitParams({ | @ApiImplicitParams({ | ||||
| @@ -83,7 +81,7 @@ public class WxGameController extends BaseController { | |||||
| public ResultData getCount(String gameId) { | public ResultData getCount(String gameId) { | ||||
| try { | try { | ||||
| Long gameIdL = Long.valueOf(gameId); | Long gameIdL = Long.valueOf(gameId); | ||||
| return wxGameService.getCount(505906397881098240L,494036479166963712L); | |||||
| return wxGameService.getCount(gameIdL,getMemberId()); | |||||
| } catch (Exception e){ | } catch (Exception e){ | ||||
| return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); | return new ResultData(ErrorCode.SYS_PARAMETER_ERROR); | ||||
| } | } | ||||