change name: matchrule to matchRule

This commit is contained in:
Tianmu
2015-12-22 10:45:15 +08:00
parent 8d87609c0b
commit 6b522da559
3 changed files with 9 additions and 9 deletions

View File

@@ -39,9 +39,9 @@ public class WxMenuGsonAdapter implements JsonSerializer<WxMenu>, JsonDeserializ
}
json.add("button", buttonArray);
if (menu.getMatchrule() != null) {
Gson gson = new Gson();
json.add("matchrule", gson.toJsonTree(menu.getMatchrule()));
if (menu.getMatchRule() != null) {
Gson gson = new Gson();
json.add("matchrule", gson.toJsonTree(menu.getMatchRule()));
}
return json;