package com.liangjian.dataplatform.member.controller;

import com.liangjian.dataplatform.member.entity.po.secondary.FiltersData;
import com.liangjian.dataplatform.member.service.IMemberterminalService;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/memberterminal")
public class MemberterminalController {

    @Autowired
    private IMemberterminalService memberterminalService;

    @PostMapping("/doclist")
    public Map<String, Object> doclist(@ApiParam(value = "参数", required = true) @RequestBody FiltersData data){

        return memberterminalService.doclist(data);
    }

}
