Authored by liangyi.chen@yoho.cn

修改线上配置

@@ -100,7 +100,8 @@ public class GrassUserAttentionListener extends AbstractMqListener<GrassUserAtte @@ -100,7 +100,8 @@ public class GrassUserAttentionListener extends AbstractMqListener<GrassUserAtte
100 protected Object checkData(GrassUserAttention sourceObject, String action) { 100 protected Object checkData(GrassUserAttention sourceObject, String action) {
101 //grass_user_attention.attention_type取0时public_user_attention.target_id取值: 101 //grass_user_attention.attention_type取0时public_user_attention.target_id取值:
102 //select id from public_topic where relate_id = #{grass_user_attention.topic_id} and src_channel = 1 102 //select id from public_topic where relate_id = #{grass_user_attention.topic_id} and src_channel = 1
103 - if (ServiceConstant.Grass_User_Attention.ATTENTION_TYPE_TOPIC == sourceObject.getAttentionType()) { 103 + if (sourceObject.getAttentionType() != null &&
  104 + ServiceConstant.Grass_User_Attention.ATTENTION_TYPE_TOPIC == sourceObject.getAttentionType()) {
104 return publicTopicService.findTopicIdByRelateIdAndSrcChannel(sourceObject.getTopicId(), 105 return publicTopicService.findTopicIdByRelateIdAndSrcChannel(sourceObject.getTopicId(),
105 ServiceConstant.SRCCHANNEL_TYPE.YOHO_GRASS); 106 ServiceConstant.SRCCHANNEL_TYPE.YOHO_GRASS);
106 } 107 }
1 rabbitmq: 1 rabbitmq:
2 server: yohoops-rabbit-common-service 2 server: yohoops-rabbit-common-service
3 port: 5672 3 port: 5672
4 - username: "admin1"  
5 - password: "123qwe" 4 + username: "yhb_mq"
  5 + password: "yhb_mq"
6 exchange: "yoho_datasync" 6 exchange: "yoho_datasync"
7 virtualHost: "/datasync" 7 virtualHost: "/datasync"
8 8