新疆短信内容中手机号码处理,避免含正常手机号的短信发不出去
This commit is contained in:
+3
-2
@@ -32,6 +32,7 @@ import org.jeecg.modules.manager.ISysCache;
|
||||
import org.jeecg.modules.system.entity.HealthUserEmployeeEx;
|
||||
import org.jeecg.modules.system.entity.SysDepart;
|
||||
import org.jeecg.modules.system.entity.SysUser;
|
||||
import org.jeecg.util.XjCommonUtil;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
@@ -188,7 +189,7 @@ public class LargeScreenImpl {
|
||||
data.put("userName", socket.getRealName());
|
||||
data.put("departName", socket.getDepartName());
|
||||
data.put("secondDepartName", socket.getOrgName());
|
||||
data.put("mobile", socket.getPhone());
|
||||
data.put("mobile", XjCommonUtil.handleMobile(socket.getPhone()));
|
||||
String code = "";
|
||||
if ("0".equals(socket.getType())) {
|
||||
log.info("拨打120,准备发送短信给【{}】", phone);
|
||||
@@ -213,7 +214,7 @@ public class LargeScreenImpl {
|
||||
departPart);
|
||||
Map<String, String> data = new HashMap<>(2);
|
||||
data.put("noticeContent", noticeContent);
|
||||
data.put("mobile", socket.getPhone());
|
||||
data.put("mobile", XjCommonUtil.handleMobile(socket.getPhone()));
|
||||
String templateCode = "qimoNotice";
|
||||
String busType = "emergency_qimo";
|
||||
sysBaseAPI.sendBusSms(new BusTemplateMessageDTO("qimo", phone, data, templateCode, busType, socket.getNoticeId()));
|
||||
|
||||
Reference in New Issue
Block a user