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