From e3ce4ee646ac3de81c7633ccecf7c8fee75d974f Mon Sep 17 00:00:00 2001 From: revlekt Date: Sun, 13 Dec 2015 20:51:53 +0800 Subject: [PATCH] modify alias for some fields of douban subject object, so that they match the alias-uri mapping for https request. --- .gitignore | 4 +++- .../dongxuexidu/douban4j/model/subject/DoubanSubjectObj.java | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a6f89c2..d3172cc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -/target/ \ No newline at end of file +/target/ +/.idea/ +*.iml \ No newline at end of file diff --git a/src/main/java/com/dongxuexidu/douban4j/model/subject/DoubanSubjectObj.java b/src/main/java/com/dongxuexidu/douban4j/model/subject/DoubanSubjectObj.java index b0aec82..dc871d2 100644 --- a/src/main/java/com/dongxuexidu/douban4j/model/subject/DoubanSubjectObj.java +++ b/src/main/java/com/dongxuexidu/douban4j/model/subject/DoubanSubjectObj.java @@ -39,10 +39,10 @@ public String getObjName() { @Key("link") private List links = new ArrayList(); - @Key("db:tag") + @Key("db2:tag") private List tags = new ArrayList(); - @Key("db:attribute") + @Key("db2:attribute") private List attributes = new ArrayList(); @Key