package com.huimv.admin.controller;


import com.huimv.admin.common.utils.Result;
import com.huimv.admin.service.IPjDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
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;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author author
 * @since 2023-08-07
 */
@RestController
@RequestMapping("/pj-data")
@CrossOrigin
public class PjDataController {

    @Autowired
    private IPjDataService pjDataService;

    @RequestMapping("/listPjData")
    public Result list(@RequestBody Map<String,String> paramsMap) {
        return pjDataService.listPjData(paramsMap);
    }
}
