Commit 15498975 authored by ZWT's avatar ZWT

都删了

parent 4acd729d
...@@ -3,7 +3,8 @@ package app; ...@@ -3,7 +3,8 @@ package app;
import xstartup.base.XStartup; import xstartup.base.XStartup;
import xstartup.base.conf.XServerConf; import xstartup.base.conf.XServerConf;
import xstartup.boot.XStartupApplication; import xstartup.boot.XStartupApplication;
import xstartup.feature.cloud.XCloudAlibabaFeature; import xstartup.feature.cloud.XCloudAlibabaGatewayFeature;
import xstartup.feature.cors.XCorsFeature;
/** /**
* 网关模块启动程序 * 网关模块启动程序
...@@ -15,7 +16,8 @@ public class DeployPpsGatewayApplication { ...@@ -15,7 +16,8 @@ public class DeployPpsGatewayApplication {
public static void main(String... args) { public static void main(String... args) {
XStartup startup = new XStartupApplication("pps"); XStartup startup = new XStartupApplication("pps");
startup.config(new XServerConf(22068).naming("pps-gateway")); startup.config(new XServerConf(22068).naming("pps-gateway"));
startup.enable(XCloudAlibabaFeature.class); startup.enable(XCloudAlibabaGatewayFeature.class);
startup.enable(XCorsFeature.class);
startup.run(args); startup.run(args);
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment