Browse Source

jfinal 4.8

James 6 years ago
parent
commit
1be297551f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/jfinal/ext/interceptor/Restful.java

+ 1 - 1
src/main/java/com/jfinal/ext/interceptor/Restful.java

@@ -61,7 +61,7 @@ public class Restful implements Interceptor {
 	 * GET		/user/id		--->	show  
 	 * GET		/user/id		--->	show  
 	 * POST		/user			--->	save	
 	 * POST		/user			--->	save	
 	 * PUT		/user/id		--->	update
 	 * PUT		/user/id		--->	update
-	 * DELECT	/user/id		--->	delete
+	 * DELETE	/user/id		--->	delete
 	 */
 	 */
 	public void intercept(Invocation inv) {
 	public void intercept(Invocation inv) {
 		// 阻止 JFinal 原有规则 action 请求
 		// 阻止 JFinal 原有规则 action 请求