package com.wx.application.core.controller;

import com.wx.application.base.BaseController;
import com.wx.application.base.ResponseData;
import com.wx.application.core.entity.Entrys;
import com.wx.application.core.service.EntrysService;
import com.wx.application.core.service.RiskUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.io.Serializable;
import java.util.Map;

/**
 * @description : Entrys 默认控制器,仅供生成器使用
 * ---------------------------------
 * @since 2023-05-12
 */
/*@Slf4j*/
@RestController("coreRiskUserController")
@RequestMapping("/risk-user")
public class RiskUserController extends BaseController {

    @Autowired
    private RiskUserService userService;

    @PostMapping(value = "/query_list")
    public ResponseData queryList(@RequestBody Map userQ) {
        return success(userService.queryList(userQ));
    }

    @PostMapping(value = "/query_pages")
    public ResponseData queryPages(@RequestBody Map entrysQ) {
        return success(userService.queryPage(entrysQ));
    }

}
