Skip to content

Commit 01410e2

Browse files
authored
Merge pull request Tencent#387 from weiwei162/patch-1
fix Tencent#362
2 parents a591ff1 + d868d8e commit 01410e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

APIJSONORM/src/main/java/apijson/orm/AbstractObjectParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,8 +599,8 @@ public void onPUTArrayParse(@NotNull String key, @NotNull JSONArray array) throw
599599
} else if (key.endsWith("-")) {//remove
600600
putType = 2;
601601
} else {//replace
602-
// throw new IllegalAccessException("PUT " + path + ", PUT Array不允许 " + key +
603-
// " 这种没有 + 或 - 结尾的key!不允许整个替换掉原来的Array!");
602+
sqlRequest.put(key, array);
603+
return;
604604
}
605605
String realKey = AbstractSQLConfig.getRealKey(method, key, false, false);
606606

0 commit comments

Comments
 (0)