package com.crm.manager.service.activity;

import com.crm.rely.backend.core.dto.base.BaseLongSelectDto;
import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.model.entity.activity.ActivityRaceRuleDropDownEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import java.util.List;

/**
 *
 * @author y
 * @create 2022/7/22
 */
@FeignClient(name = "ACTIVITY-SERVICE", path = "/manager/service/activity/race/rule")
public interface ActivityRaceRuleFeignService {

    @PostMapping("/dropdown")
    BaseResultDto<List<BaseLongSelectDto>> dropdown(ActivityRaceRuleDropDownEntity entity) throws Exception;
}
