|
|
@ -4,6 +4,7 @@ import cn.dev33.satoken.annotation.SaIgnore; |
|
|
|
import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation; |
|
|
|
import com.alicp.jetcache.anno.config.EnableMethodCache; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.mybatis.spring.annotation.MapperScan; |
|
|
|
import org.nl.config.SpringContextHolder; |
|
|
|
import org.springframework.boot.SpringApplication; |
|
|
@ -24,6 +25,7 @@ import org.springframework.web.bind.annotation.RestController; |
|
|
|
* @author ldjun |
|
|
|
* @date 2021/2/22 9:20:19 |
|
|
|
*/ |
|
|
|
@Slf4j |
|
|
|
@EnableAsync |
|
|
|
@RestController |
|
|
|
@Api(hidden = true) |
|
|
@ -62,6 +64,7 @@ public class AppRun { |
|
|
|
@GetMapping("/") |
|
|
|
@SaIgnore |
|
|
|
public String index() { |
|
|
|
log.info("后台项目已启动"); |
|
|
|
return "Backend service started successfully"; |
|
|
|
} |
|
|
|
} |
|
|
|