|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.epmet.controller; |
|
|
|
|
|
|
|
import com.epmet.commons.tools.annotation.LoginUser; |
|
|
|
import com.epmet.commons.tools.annotation.MaskResponse; |
|
|
|
import com.epmet.commons.tools.aop.NoRepeatSubmit; |
|
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
@ -36,6 +37,7 @@ public class ChangeRelocationController { |
|
|
|
private ChangeRelocationService changeRelocationService; |
|
|
|
|
|
|
|
@RequestMapping("page") |
|
|
|
@MaskResponse(fieldNames = {"MOBILE", "ID_CARD"}, fieldsMaskType = {MaskResponse.MASK_TYPE_MOBILE, MaskResponse.MASK_TYPE_ID_CARD}) |
|
|
|
public Result<PageData<ChangeRelocationDTO>> page(@RequestParam Map<String, Object> params){ |
|
|
|
PageData<ChangeRelocationDTO> page = changeRelocationService.page(params); |
|
|
|
return new Result<PageData<ChangeRelocationDTO>>().ok(page); |
|
|
|