Compare commits
2 Commits
2a64fd3599
...
e0455950ad
Author | SHA1 | Date |
---|---|---|
孙贺贺 | e0455950ad | 6 days ago |
孙贺贺 | a9f2991df1 | 6 days ago |
@ -1,13 +1,18 @@
|
|||||||
package com.trading_platform;
|
package com.trading_platform;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.OpenAPIDefinition;
|
||||||
|
import io.swagger.v3.oas.annotations.info.Info;
|
||||||
|
import org.mybatis.spring.annotation.MapperScan;
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
|
@OpenAPIDefinition(info = @Info(title = "Trading Platform API", version = "1.0"))
|
||||||
|
@MapperScan("com.trading_platform.mapper")
|
||||||
public class TradingPlatformApplication {
|
public class TradingPlatformApplication {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(TradingPlatformApplication.class, args);
|
SpringApplication.run(TradingPlatformApplication.class, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue