package com.crm.manager.service.activity;

import com.crm.rely.backend.core.dto.activity.baidu.ActivityBaidu202406Dto;
import com.crm.rely.backend.core.dto.base.BaseResultWithPagerDto;
import com.crm.rely.backend.core.entity.activity.baidu.ActivityBaidu202406ListSearchEntity;
import com.crm.rely.backend.exception.ServiceException;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(name = "ACTIVITY-SERVICE", path = "/activity/baidu")
public interface ActivityBaiduFeignService {

    @PostMapping("/202406/search/list")
    BaseResultWithPagerDto<List<ActivityBaidu202406Dto>> searchPageList(ActivityBaidu202406ListSearchEntity entity) throws ServiceException;
    @PostMapping("/202406/export/search/list")
    List<ActivityBaidu202406Dto> searchList(ActivityBaidu202406ListSearchEntity entity) throws ServiceException;
}
