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

27 lines
702 B
Java

package com.guwan.backend;
import jakarta.annotation.PostConstruct;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
@Slf4j
@SpringBootApplication
@MapperScan("com.guwan.backend.mapper")
@EnableFeignClients
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");
}
}