Commit 148ef318 by zhiwj

bug

parent 323c8f54
......@@ -112,8 +112,8 @@ public class SmsRecordApiServiceImpl implements SmsRecordApiService {
try {
String json = JSON.toJSONString(smsRecordDTO);
logger.info("收到国内短信计费信息:{}", json);
// client.sendMessage("smsMq", json);
this.run(json);
client.sendMessage("smsMq", json);
// this.run(json);
} catch (Exception e) {
logger.warn("调用mq失败", e);
}
......@@ -149,8 +149,8 @@ public class SmsRecordApiServiceImpl implements SmsRecordApiService {
billingSmsRecordService.updateCacheStatus(smsRecordDTO.getSmsRecordId());
smsRecordDTO.setCacheStatus(1);
// 队列
// client.sendMessage("smsDbMq", JSON.toJSONString(smsRecordDTO));
this.executeDatabase(JSON.toJSONString(smsRecordDTO));
client.sendMessage("smsDbMq", JSON.toJSONString(smsRecordDTO));
// this.executeDatabase(JSON.toJSONString(smsRecordDTO));
} catch (Exception e) {
logger.warn("调用mq失败", e);
}
......
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