Skip to content

Commit 6e43d45

Browse files
增加支持crud方法
1 parent c685a63 commit 6e43d45

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

APIJSONORM/src/main/java/apijson/RequestMethod.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,17 @@ public enum RequestMethod {
4040
*/
4141
PUT,
4242

43+
/**
44+
* json包含多条语句,支持增删改查,函数调用
45+
*/
46+
CRUD,
47+
4348
/**
4449
* 删除数据
4550
*/
4651
DELETE;
4752

48-
public static final RequestMethod[] ALL = new RequestMethod[]{ GET, HEAD, GETS, HEADS, POST, PUT, DELETE};
53+
public static final RequestMethod[] ALL = new RequestMethod[]{ GET, HEAD, GETS, HEADS, POST, PUT, CRUD, DELETE};
4954

5055
/**是否为GET请求方法
5156
* @param method

0 commit comments

Comments
 (0)