package com.yuchen.saas.park.service.feign;

import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.yuchen.saas.park.api.dto.park.TemperaturePreventionDTO;
import com.yuchen.saas.park.api.feign.service.WarningCategoryFeignService;
import com.yuchen.saas.park.api.vo.park.WarningLevelVo;
import com.yuchen.saas.park.service.service.IWarningCategoryService;
import com.yuchen.saas.park.service.service.TemperaturePreventionService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.nest.springwrap.core.tool.api.R;
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.RestController;

/**
 * @author songshaoting
 * @Description
 */
@RestController
@Api(value = "告警配置信息", tags = "告警配置信息")
public class WarningCategoryFeign implements WarningCategoryFeignService {

    @Autowired
    private IWarningCategoryService iWarningCategoryService;

    @Override
    public WarningLevelVo getWarningLevelInfo(String identity) {
        return iWarningCategoryService.getWarningLevelInfo(identity);
    }
}
