|
@ -1,11 +1,14 @@ |
|
|
package com.win.web; |
|
|
package com.win.web; |
|
|
|
|
|
|
|
|
import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure; |
|
|
import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure; |
|
|
|
|
|
import com.alibaba.fastjson2.JSON; |
|
|
import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j; |
|
|
import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j; |
|
|
import org.springframework.boot.SpringApplication; |
|
|
import org.springframework.boot.SpringApplication; |
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; |
|
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; |
|
|
|
|
|
|
|
|
|
|
|
import static com.alibaba.fastjson2.JSONWriter.Feature.LargeObject; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 启动程序 |
|
|
* 启动程序 |
|
|
* |
|
|
* |
|
@ -20,6 +23,7 @@ public class WinApplication { |
|
|
public static void main(String[] args) { |
|
|
public static void main(String[] args) { |
|
|
// System.setProperty("spring.devtools.restart.enabled", "false");
|
|
|
// System.setProperty("spring.devtools.restart.enabled", "false");
|
|
|
SpringApplication.run(WinApplication.class, args); |
|
|
SpringApplication.run(WinApplication.class, args); |
|
|
|
|
|
JSON.config(LargeObject, true); |
|
|
System.out.println("闻音启动成功"); |
|
|
System.out.println("闻音启动成功"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|