package com.huimv.admin.controller;


import com.huimv.admin.common.utils.Result;
import com.huimv.admin.service.ISysBaseConfigService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.Map;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author author
 * @since 2023-09-20
 */
@RestController
@RequestMapping("/sys-base-config")
@CrossOrigin
public class SysBaseConfigController {
    @Resource
    private ISysBaseConfigService sysBaseConfigService;
    @PostMapping("/listWarning")
    public Result listWarning(@RequestBody Map<String,String> paramsMap){
        return sysBaseConfigService.listWarning(paramsMap);
    }
}
