Authored by chaogeng

no message

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