package com.crm.manager.service.ib;

import com.crm.rely.backend.core.dto.base.BaseResultWithPagerDto;
import com.crm.rely.backend.core.dto.ib.point.AgentPointRecordDto;
import com.crm.rely.backend.core.entity.ib.point.AgentPointRecordListEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * Created by max on 2020/8/31.
 */
@FeignClient(value = "IB-SERVICE",path = "/manage/service/agent/point/change")
public interface AgentPointFeignService {

    @PostMapping("/list")
    BaseResultWithPagerDto<List<AgentPointRecordDto>> getList(AgentPointRecordListEntity entity) throws Exception;

}
