nacos feign

This commit is contained in:
GYJ
2025-02-08 15:38:02 +08:00
parent 26833efde5
commit 5d2533be35
13 changed files with 212 additions and 56 deletions

View File

@@ -0,0 +1,25 @@
package com.czg.controller;
import com.czg.feign.FeignSystemService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author GYJoker
*/
@RestController
@RequestMapping("/feign")
public class FeignController {
@Resource
private FeignSystemService feignSystemService;
@RequestMapping("/test")
public String test() {
String string = feignSystemService.testCall("sssss");
System.out.println(string);
return "test";
}
}