浏览代码

add author info

fuhai999@gmail.com 5 年之前
父节点
当前提交
9f9c947619

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

@@ -22,6 +22,8 @@ import com.jfinal.kit.StrKit;
 import javax.servlet.http.HttpServletResponse;
 
 /**
+ * @author Michael Yang 杨福海 (fuhai999@gmail.com)
+ * 
  * use:
  * 1、在 JFInalConfig 的 在 configInterceptor(Interceptors me) 中添加全局拦截器:me.add(new CORSIntercetpro());
  * 2、在需要支持跨域的 Action 方法中添加 @EnableCORS

+ 2 - 2
src/main/java/com/jfinal/ext/cors/EnableCORS.java

@@ -19,8 +19,8 @@ import java.lang.annotation.*;
 
 /**
  * @author Michael Yang 杨福海 (fuhai999@gmail.com)
- * @version V1.0
- * detail : https://developer.mozilla.org/en-US/docs/Glossary/CORS
+ * 
+ * 每个参数意义的详情 : https://developer.mozilla.org/en-US/docs/Glossary/CORS
  */
 @Inherited
 @Retention(RetentionPolicy.RUNTIME)