Browse Source

添加注释

James 3 years ago
parent
commit
c68265c10e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/main/java/com/jfinal/core/Controller.java

+ 2 - 0
src/main/java/com/jfinal/core/Controller.java

@@ -834,7 +834,9 @@ public abstract class Controller {
 			if (jsonReq.getJSONObject() != null) {
 				kv.putAll(jsonReq.getJSONObject());
 			}
+			
 			// json 数据添加完成后再添加内部 HttpServletRequest 对象中的数据
+			// 使用 getInnerRequest() 避免调用 JsonRequest.createParaMap() 产生性能损耗
 			req = jsonReq.getInnerRequest();
 		}