package com.crm.custom.service;

import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.model.entity.custom.login.CustomLoginCheckByLoginEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * Created by max on 2020/5/20.
 */
@FeignClient(name = "GOLDEN-PAY-SERVICE", path = "/finance/train/custom")
public interface FinanceTrainFeignService {
    @PostMapping("/validate/login")
    BaseResultDto<Boolean> validateLogin(CustomLoginCheckByLoginEntity entity) throws Exception;
}
