|
@@ -84,7 +84,7 @@ public class RemoteCallServiceImpl implements RemoteCallService {
|
|
|
// 调用 ToolsFeign 发送短信
|
|
|
String jsonStr = toolsFeign.getSendSms(mobile, content);
|
|
|
JSONObject parseObject = JSONObject.parseObject(jsonStr);
|
|
|
- if (0 == parseObject.getInteger("code")){
|
|
|
+ if (markId > 0 && 0 == parseObject.getInteger("code")){
|
|
|
// 保存短信发送条数+count
|
|
|
messagePushMapper.updateSmsSendCount(markId, 1);
|
|
|
returnValue.set(true);
|