🎉 3.0.1.RELEASE 架构升级适配 SpringCloud 2020.0.1
This commit is contained in:
parent
d400483219
commit
82a0c3ec25
|
|
@ -15,9 +15,10 @@
|
||||||
*/
|
*/
|
||||||
package org.springblade.gateway;
|
package org.springblade.gateway;
|
||||||
|
|
||||||
import org.springblade.core.launch.constant.AppConstant;
|
|
||||||
import org.springblade.core.launch.BladeApplication;
|
import org.springblade.core.launch.BladeApplication;
|
||||||
import org.springframework.cloud.client.SpringCloudApplication;
|
import org.springblade.core.launch.constant.AppConstant;
|
||||||
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -26,7 +27,8 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
||||||
* @author Chill
|
* @author Chill
|
||||||
*/
|
*/
|
||||||
@EnableScheduling
|
@EnableScheduling
|
||||||
@SpringCloudApplication
|
@EnableDiscoveryClient
|
||||||
|
@SpringBootApplication
|
||||||
public class GateWayApplication {
|
public class GateWayApplication {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user