yl-backend/src/main/java/com/guwan/backend/BackendApplication.java

24 lines
618 B
Java
Raw Normal View History

2024-12-06 20:36:28 +08:00
package com.guwan.backend;
import jakarta.annotation.PostConstruct;
import lombok.extern.slf4j.Slf4j;
2024-12-06 20:36:28 +08:00
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@Slf4j
2024-12-06 20:36:28 +08:00
@SpringBootApplication
@MapperScan("com.guwan.backend.mapper")
public class BackendApplication {
public static void main(String[] args) {
SpringApplication.run(BackendApplication.class, args);
}
@PostConstruct
public void init() {
log.info("大爱仙尊: http://localhost:8084/daxz.html?id=1");
}
2024-12-06 20:36:28 +08:00
}