java静态路径

application.yaml

spring:

  mvc:

    static-path-pattern:/res/**

  resources:

    static-locations:[classpath:/haha/]

posted @ 2025-02-01 20:08  hello芳芳  阅读(8)  评论(0)    收藏  举报