refactor: 让目录结构变得优雅一点

This commit is contained in:
ah--desktop
2026-04-01 22:55:46 +08:00
parent 0d2f6f1619
commit d5eb6ea89b
106 changed files with 338 additions and 339 deletions
@@ -1,5 +1,6 @@
package top.xyquan.ecomdmbbackend;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -7,10 +8,10 @@ import org.springframework.scheduling.annotation.EnableAsync;
@SpringBootApplication
@EnableAsync
@MapperScan({
"top.xyquan.ecomdmbbackend.modules.*.mapper",
"top.xyquan.ecomdmbbackend.modules.*.*.mapper"
})
@MapperScan(
basePackages = "top.xyquan.ecomdmbbackend.modules",
annotationClass = Mapper.class
)
public class EComDMBBackendApplication {
public static void main(String[] args) {