Browse Source

代码优化

zhouchenglin 6 years ago
parent
commit
b321cbb1d5
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/main/resources/application.yml

+ 3 - 1
src/main/resources/application.yml

@@ -16,9 +16,11 @@ global:
   kaptcha-enable: true #是否开启验证码,true为开启,false为关闭
 
 spring:
-  # 环境 dev:开发环境|test:测试环境|prod:生成环境
+  # 环境 sit:集成测试环境|pre:预生产环境|prd:生成环境
   profiles:
     active: sit
+  mvc:
+    static-path-pattern: /static/**
   # jackson时间格式化
   jackson:
     time-zone: GMT+8