Commit 48b45d95 by yangchen

提交部分参数无法获取报错异常

parent ee3aa8bd
...@@ -108,7 +108,7 @@ public class TouTiaoArticleParse { ...@@ -108,7 +108,7 @@ public class TouTiaoArticleParse {
String commentNum = data.getString("comments_count"); String commentNum = data.getString("comments_count");
String playNum = data.getString("play_effective_count"); String playNum = data.getString("play_effective_count");
String source = data.getString("source"); String source = data.getString("source");
String user_id = data.getLong("creator_uid").toString(); String user_id = data.getLong("creator_uid")+"";
TouTiaoArticle tt = new TouTiaoArticle(href, title, user_id, source, date, content, commentNum, playNum, readNum, "今日头条"); TouTiaoArticle tt = new TouTiaoArticle(href, title, user_id, source, date, content, commentNum, playNum, readNum, "今日头条");
dataList.add(tt); dataList.add(tt);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment