gtsoft-snail-job-server/example/src/main/java/com/example/client/DemoClient.java
byteblogs168 a731ad70e2 feat: 1.0.0
修改example模块内的包路径
2023-04-21 09:08:00 +08:00

17 lines
413 B
Java

package com.example.client;
import com.aizuda.easy.retry.common.core.model.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
/**
* @author: www.byteblogs.com
* @date : 2022-05-16 15:32
*/
@FeignClient(name = "daemoClient", url = "http://127.0.0.1:8089")
public interface DemoClient {
@GetMapping("/school/id")
Result get();
}