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

import com.yuchen.saas.park.api.dto.prevention.ScanPreventionDTO;
import org.nest.springwrap.core.launch.app.AppNameConstant;
import org.nest.springwrap.core.tool.api.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 颜艺波
 * @date 2022/8/18 11:16
 * @Description
 */
@FeignClient(
        value = AppNameConstant.SAAS_PARK,
        fallback = ScanPreventionFeignServiceFallback.class
)
public interface ScanPreventionFeignService {

    /**
     *
     * @param
     * @return
     */
    @PostMapping("/scan/prevention/add")
    R<Boolean> iscAdd(@RequestBody ScanPreventionDTO scanPreventionDTO);
}
