Commit 2aa61167 authored by ZWT's avatar ZWT

都删了

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