Selaa lähdekoodia

warewms api 1.0 example 08.01

ChenYang 1 vuosi sitten
vanhempi
commit
f96d968683

+ 18 - 0
warewms-admin/src/main/java/com/warewms/hard/WarewmsApplication.java

@@ -0,0 +1,18 @@
+package com.warewms.hard;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
+
+/**
+ * 启动程序
+ *
+ * @author ruoyi
+ */
+@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
+public class WarewmsApplication {
+    public static void main(String[] args)
+    {
+        SpringApplication.run(WarewmsApplication.class, args);
+    }
+}

+ 18 - 0
warewms-admin/src/main/java/com/warewms/protocol/WarewmsApplication.java

@@ -0,0 +1,18 @@
+package com.warewms.protocol;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
+
+/**
+ * 启动程序
+ *
+ * @author ruoyi
+ */
+@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
+public class WarewmsApplication {
+    public static void main(String[] args)
+    {
+        SpringApplication.run(WarewmsApplication.class, args);
+    }
+}