Commit 800baa787c8c224f694170b3221598e6a8e15da7

Authored by liwei2917
1 parent 9d888a99

修改话题回调接口

src/main/java/com/cnlive/shenhe/api/TopicControllerApi.java
@@ -141,15 +141,16 @@ public class TopicControllerApi { @@ -141,15 +141,16 @@ public class TopicControllerApi {
141 topic = topicService.getShyTopic(topic); 141 topic = topicService.getShyTopic(topic);
142 142
143 if(errorCode.equals("0")){ 143 if(errorCode.equals("0")){
144 - logger.info("话题id为"+topic_id+",cms系统已通知"); 144 + logger.info("话题id为:"+topic_id+",cms系统已通知");
145 if(topic!=null){ 145 if(topic!=null){
146 topic.setShenhe_msg(topic.getShenhe_msg()+",cms系统已通知"); 146 topic.setShenhe_msg(topic.getShenhe_msg()+",cms系统已通知");
147 } 147 }
148 }else{//中转服务器失败 148 }else{//中转服务器失败
149 - logger.info("话题id为"+topic_id+",中转服务器调用cms失败,失败消息:"+errorMessage); 149 + logger.info("话题id为:"+topic_id+",中转服务器调用cms失败,失败消息:"+errorMessage);
150 topic.setShenhe_msg(topic.getShenhe_msg()+",中转服务器调用cms失败,失败消息:"+errorMessage); 150 topic.setShenhe_msg(topic.getShenhe_msg()+",中转服务器调用cms失败,失败消息:"+errorMessage);
151 topic.setShenhe_status(CommonConst.AUDIT_INTT); 151 topic.setShenhe_status(CommonConst.AUDIT_INTT);
152 topic.setShenhe_type(CommonConst.AUDIT_TYPE_USER); 152 topic.setShenhe_type(CommonConst.AUDIT_TYPE_USER);
  153 + topic.setAuditor_id(null);
153 } 154 }
154 boolean rs = topicService.updateshyTopic(topic); 155 boolean rs = topicService.updateshyTopic(topic);
155 Map<String,Object> ee=new HashMap<>(); 156 Map<String,Object> ee=new HashMap<>();