Authored by chaogeng

no message

@@ -36,7 +36,7 @@ public class ArticlePushConsumer implements CommonMessageConsumer { @@ -36,7 +36,7 @@ public class ArticlePushConsumer implements CommonMessageConsumer {
36 private final static String ARTICLE_BASE_URL = "guang.m.yohobuy.com/guang/info/"; 36 private final static String ARTICLE_BASE_URL = "guang.m.yohobuy.com/guang/info/";
37 37
38 //可推送的文章一级分类id 38 //可推送的文章一级分类id
39 - private final static Integer[] PUSH_ARTICLE_SORT_ID = {1,2,3,4}; 39 + private final static Integer[] PUSH_ARTICLE_SORT_ID = {1,2,3,4,22};
40 40
41 @Value("${baidu.tp.push.url}") 41 @Value("${baidu.tp.push.url}")
42 private String baiduTPPushUrl; 42 private String baiduTPPushUrl;
@@ -66,7 +66,6 @@ public class ArticlePushConsumer implements CommonMessageConsumer { @@ -66,7 +66,6 @@ public class ArticlePushConsumer implements CommonMessageConsumer {
66 return; 66 return;
67 } 67 }
68 JSONObject jsonObj = JSON.parseObject((String) message); 68 JSONObject jsonObj = JSON.parseObject((String) message);
69 - //JSONObject jsonObj = (JSONObject)message;  
70 Integer articleId = jsonObj.getInteger("articleId"); 69 Integer articleId = jsonObj.getInteger("articleId");
71 if(articleId == null || articleId < 1){ 70 if(articleId == null || articleId < 1){
72 return; 71 return;