优化 ServerApplication 代码配置样式.

pull/10/head
chen.ma 3 years ago
parent 5acd0ab7f8
commit f4a8f28997

@ -4,15 +4,8 @@ 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;
@MapperScan(basePackages = @SpringBootApplication(scanBasePackages = "cn.hippo4j")
{ @MapperScan(basePackages = {"cn.hippo4j.config.mapper", "cn.hippo4j.auth.mapper"})
"cn.hippo4j.config.mapper",
"cn.hippo4j.auth.mapper"
})
@SpringBootApplication(scanBasePackages =
{
"cn.hippo4j"
})
public class ServerApplication { public class ServerApplication {
public static void main(String[] args) { public static void main(String[] args) {

Loading…
Cancel
Save