Commit 2aa61167 authored by ZWT's avatar ZWT

都删了

parent 96ee12ef
...@@ -14,16 +14,19 @@ ...@@ -14,16 +14,19 @@
<artifactId>deploy-pps-gateway</artifactId> <artifactId>deploy-pps-gateway</artifactId>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>xstartup-cloud</groupId> <groupId>xstartup-cloud</groupId>
<artifactId>xstartup-cloud-feature-alibaba</artifactId> <artifactId>xstartup-cloud-feature-alibaba-gateway</artifactId>
<version>1.16.69-xstartup-v3-cloud</version> </dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>2.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>xstartup</groupId> <groupId>xstartup-cloud</groupId>
<artifactId>xstartup-feature-cors</artifactId> <artifactId>xstartup-cloud-feature-alibaba</artifactId>
<version>1.16.69-xstartup-v3</version> <version>1.16.69-xstartup-v3-cloud</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>
......
...@@ -4,6 +4,7 @@ import xstartup.base.XStartup; ...@@ -4,6 +4,7 @@ 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.XCloudAlibabaFeature;
import xstartup.feature.cors.XCorsFeature;
/** /**
* 网关模块启动程序 * 网关模块启动程序
...@@ -16,6 +17,7 @@ public class DeployPpsGatewayApplication { ...@@ -16,6 +17,7 @@ public class DeployPpsGatewayApplication {
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(XCloudAlibabaFeature.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