package com.xcong.excoin.modules.authentication.controller;
|
|
import java.util.Map;
|
|
import org.springframework.validation.annotation.Validated;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.xcong.excoin.common.controller.BaseController;
|
import com.xcong.excoin.common.entity.FebsResponse;
|
import com.xcong.excoin.common.entity.QueryRequest;
|
import com.xcong.excoin.modules.authentication.entity.MemberAuthenticationEntity;
|
import com.xcong.excoin.modules.authentication.service.AuthenticationService;
|
import lombok.RequiredArgsConstructor;
|
|
/**
|
* 身份信息审核
|
*/
|
@Validated
|
@RestController
|
@RequiredArgsConstructor
|
@RequestMapping(value = "/authentication")
|
public class AuthenticationController extends BaseController{
|
|
private final AuthenticationService authenticationService;
|
|
@GetMapping("getList")
|
public FebsResponse getList(MemberAuthenticationEntity memberAuthenticationEntity, QueryRequest request) {
|
IPage<MemberAuthenticationEntity> findMemberListInPage = authenticationService.findAuthenticationListInPage(memberAuthenticationEntity, request);
|
Map<String, Object> data = getDataTable(findMemberListInPage);
|
return new FebsResponse().success().data(data);
|
}
|
|
|
}
|