|
|
@ -16,13 +16,13 @@ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
package org.springblade.gateway; |
|
|
|
package org.springblade.gateway; |
|
|
|
|
|
|
|
|
|
|
|
import org.springblade.common.constant.TenantNum; |
|
|
|
|
|
|
|
import org.springblade.core.launch.BladeApplication; |
|
|
|
import org.springblade.core.launch.BladeApplication; |
|
|
|
import org.springblade.core.launch.constant.AppConstant; |
|
|
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient; |
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient; |
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling; |
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import static org.springblade.common.constant.ModuleNameConstant.APPLICATION_GATEWAY_NAME; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 项目启动 |
|
|
|
* 项目启动 |
|
|
|
* |
|
|
|
* |
|
|
@ -34,7 +34,7 @@ import org.springframework.scheduling.annotation.EnableScheduling; |
|
|
|
public class GateWayApplication { |
|
|
|
public class GateWayApplication { |
|
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
|
public static void main(String[] args) { |
|
|
|
BladeApplication.run(AppConstant.APPLICATION_GATEWAY_NAME.concat(TenantNum.DEVAUTH), GateWayApplication.class, args); |
|
|
|
BladeApplication.run(APPLICATION_GATEWAY_NAME, GateWayApplication.class, args); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|