82 Star 702 Fork 216

Huoyo / ko-time

 / 详情

找不到静态文件

已完成
创建于  
2021-05-15 15:15

koTime:
pointcut: execution(* com.huoyo..*(..))
exception:
enable: true
log:
enable: false
language: chinese
time:
threshold: 800.0
ui:
template: thymeleaf

输入图片说明

评论 (2)

mallplus 创建了任务
mallplus 关联仓库设置为Huoyo/ko-time
Huoyo 关联分支设置为master
展开全部操作日志

可以参考#I3QD0U:引入ko-time导致swagger文档无法访问进行设置,如果项目中使用WebMvcConfigurationSupport 导致的失效,建议在WebMvcConfigSupport中添加资源路径

@Configuration
public class ResourceCongfig extends WebMvcConfigurationSupport {
     @Override
    protected void addResourceHandlers(ResourceHandlerRegistry registry) {
        // 解决静态资源无法访问
        registry.addResourceHandler("/static/**").addResourceLocations("classpath:/static/");
    }
}

加上无效~~~

Huoyo 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(3)
1625471 huoyo 1675406786 1447674 xinjinbao 1594701738 134431 catshen 1582456929
Java
1
https://gitee.com/huoyo/ko-time.git
git@gitee.com:huoyo/ko-time.git
huoyo
ko-time
ko-time

搜索帮助