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