|
|
|
@@ -85,6 +85,19 @@ public class WxGameController extends BaseController { |
|
|
|
final PageInfo<WxGameUserActionLogVo> page = wxGameService.listUserActionLogAsPage(wxGameLog, pageNum, pageSize); |
|
|
|
return new ResultData(page); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("用户中奖记录接口") |
|
|
|
@GetMapping("userGiftList") |
|
|
|
public ResultData userGiftList(@ModelAttribute WxGameActionLog wxGameLog, Integer pageNum, Integer pageSize) { |
|
|
|
if (null == wxGameLog) wxGameLog = new WxGameActionLog(); |
|
|
|
if (null == wxGameLog.getGameId()|| null == wxGameLog.getUserId()) { |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL,"参数无效"); |
|
|
|
} |
|
|
|
wxGameLog.updateTenantInfo(getTenantInfo()); |
|
|
|
|
|
|
|
final PageInfo<WxGameUserActionLogVo> page = wxGameService.listUserActionLogAsPage(wxGameLog, pageNum, pageSize); |
|
|
|
return new ResultData(page); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("新增接口") |
|
|
|
@PostMapping("add") |
|
|
|
|