Browse Source

修改注释

James 5 years ago
parent
commit
6169de6f0d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/jfinal/ext/cors/CORSInterceptor.java

+ 1 - 1
src/main/java/com/jfinal/ext/cors/CORSInterceptor.java

@@ -25,7 +25,7 @@ import javax.servlet.http.HttpServletResponse;
  * @author Michael Yang 杨福海 (fuhai999@gmail.com)
  * @author Michael Yang 杨福海 (fuhai999@gmail.com)
  * 
  * 
  * 使用方法:
  * 使用方法:
- * 1、在 JFInalConfig 的 在 configInterceptor(Interceptors me) 中添加全局拦截器(也可以不是全局拦截器):me.add(new CORSIntercetpro());
+ * 1、在 JFInalConfig 的 在 configInterceptor(Interceptors me) 中添加全局拦截器(也可以不是全局拦截器):me.add(new CORSInterceptor());
  * 2、在需要支持跨域的 Action 方法中添加 @EnableCORS
  * 2、在需要支持跨域的 Action 方法中添加 @EnableCORS
  * 
  * 
  * PS:
  * PS: