package com.crm.manager.service.custom;

import com.crm.rely.backend.core.dto.base.BaseResultWithPagerDto;
import com.crm.rely.backend.core.dto.custom.login.CustomLoginDeleteDto;
import com.crm.rely.backend.core.entity.custom.login.delete.CustomLoginDeleteSearchEntity;
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;

/**
 * @description:
 * @author: houn
 * @create: 2020-07-19 16:25
 **/

@FeignClient(name = "CUSTOM-SERVICE", path = "/custom/login/delete")
public interface CustomLoginDeleteFeignService {
    @PostMapping("/manage/search/list")
    BaseResultWithPagerDto<List<CustomLoginDeleteDto>> manageSearchList(CustomLoginDeleteSearchEntity entity) throws ServiceException;

}
