Spring Boot 访问静态资源

方法1一:

在resources目录下建立static的目录,将静态资源放到此处,可以直接访问

访问:127.0.0.1:9010/img/123.png

猜你喜欢

转载自www.cnblogs.com/chenglc/p/10641619.html