feat: 修复代码风格问题

pull/193/head
andrewshan 3 years ago
parent 0cb656a98b
commit c87eea20a6

@ -19,19 +19,10 @@ package com.tencent.cloud.polaris.router.grayrelease.back;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;
@SpringBootApplication @SpringBootApplication
public class GrayReleaseBackendApplication { public class GrayReleaseBackendApplication {
@Bean
@LoadBalanced
public RestTemplate restTemplate() {
return new RestTemplate();
}
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(GrayReleaseBackendApplication.class, args); SpringApplication.run(GrayReleaseBackendApplication.class, args);
} }

@ -20,9 +20,6 @@ package com.tencent.cloud.polaris.router.grayrelease.gateway;
import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/** /**
* Router callee feign client. * Router callee feign client.

Loading…
Cancel
Save