package com.crm.manager.service.follow;

import com.crm.rely.backend.core.dto.base.BaseResultWithPagerDto;
import com.crm.rely.backend.core.dto.follow.cpt.FollowCptLotteryRecordDto;
import com.crm.rely.backend.core.entity.follow.cpt.FollowCptLotteryRecordSearchEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "FOLLOW-TASK-SERVICE", path = "/manager/service/follow/cpt/lottery/record")
public interface FollowCptLotteryRecordFeignService {

    @PostMapping("/search/list")
    BaseResultWithPagerDto<List<FollowCptLotteryRecordDto>> searchList(@RequestBody FollowCptLotteryRecordSearchEntity entity) throws Exception;

}
