package com.ytpm.feign;

import com.ytpm.agent.view.AgentUserInfo;
import com.ytpm.general.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "agent-service")
public interface AgentFeign {
    @GetMapping("/ytUser/curUser")
    Result<AgentUserInfo> getLoginInfo();
}
