mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-06 03:20:34 +00:00
取消“转发时附加卡槽信息”和“转发时附加设备名称”开关
This commit is contained in:
parent
384b61773e
commit
4b8b3485ab
@ -40,14 +40,6 @@ public class SmsVo implements Serializable {
|
||||
smsTemplate = "{{来源号码}}\n{{短信内容}}\n{{卡槽信息}}\n{{接收时间}}\n{{设备名称}}";
|
||||
}
|
||||
|
||||
if (!switchAddExtra) {
|
||||
smsTemplate = smsTemplate.replace("{{卡槽信息}}\n", "").replace("{{卡槽信息}}", "");
|
||||
}
|
||||
|
||||
if (!switchAddDeviceName) {
|
||||
smsTemplate = smsTemplate.replace("\n{{设备名称}}", "").replace("{{设备名称}}", "");
|
||||
}
|
||||
|
||||
return smsTemplate.replace("{{来源号码}}", mobile)
|
||||
.replace("{{短信内容}}", content)
|
||||
.replace("{{卡槽信息}}", simInfo)
|
||||
|
Loading…
Reference in New Issue
Block a user