package com.example.demo.microController;

import com.example.demo.model.ScUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("eureka-client2")
public interface MicroTestController {
	
	@RequestMapping("/user")
	List<ScUser> getUser();
}
