feign 改为 dubbo

This commit is contained in:
GYJ
2025-02-11 14:27:51 +08:00
parent 30b9cef27f
commit 009cd44653
19 changed files with 194 additions and 106 deletions

View File

@@ -1,14 +0,0 @@
package com.czg.service.account.feign;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
/**
* @author GYJoker
*/
@FeignClient("system-server")
public interface FeignSystemService {
@GetMapping("/admin/feign/testCall/{name}") // 使用 get 方式,调用服务提供者的 /call/{name} 接口
String testCall(@PathVariable(value = "name") String name);
}