删除排序
parent
476c69ba34
commit
6e6fd31090
|
@ -15,7 +15,6 @@ import org.springframework.context.annotation.ComponentScan;
|
|||
* @Date:2024/7/31 19:28
|
||||
*/
|
||||
@Log4j2
|
||||
@EnableCustomConfig
|
||||
@EnableMyFeignClients
|
||||
@SpringBootApplication
|
||||
public class MuYuBackgroundApplication {
|
||||
|
|
|
@ -19,6 +19,7 @@ import org.springframework.beans.factory.annotation.Qualifier;
|
|||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
|
@ -35,11 +36,10 @@ import java.io.IOException;
|
|||
public class ApiUserController {
|
||||
|
||||
|
||||
private final BasicApi<RealNameReq, RealNameResp> realNameService;
|
||||
@Resource(name ="source-real-name")
|
||||
private BasicApi<RealNameReq, RealNameResp> realNameService;
|
||||
|
||||
|
||||
@Autowired
|
||||
public ApiUserController(@Qualifier("source-real-name") BasicApi<RealNameReq, RealNameResp> realNameService) {
|
||||
public ApiUserController( BasicApi<RealNameReq, RealNameResp> realNameService) {
|
||||
this.realNameService = realNameService;
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.PostMapping;
|
|||
* @Date:2024/9/5 20:14
|
||||
*/
|
||||
|
||||
@FeignClient("cloud-ali")
|
||||
@FeignClient(value = "cloud-ali")
|
||||
public interface AliRemoteService {
|
||||
|
||||
@PostMapping("/ali/real/name")
|
||||
|
|
Loading…
Reference in New Issue