xiaoyong931011
2020-06-11 87a81e5696809b0cb2455bcca59aa9b7eab0084c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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);
    }
 
 
}