feat(device): 新增短信记录采集、对账与两端查询
- 设备侧上报短信元数据/全量快照,正文仅实时拉取不入库 - 软删除同步平板端已删除记录,家属端主动触发全量对账 - 家属端与设备调试页提供分页查询、正文获取与采集开关
This commit is contained in:
1 parent
8f47d702f9
commit
5381d2b631
28 files changed
+1386
-11
No files matched your search
@@ -11,6 +11,8 @@ import com.youlai.boot.device.model.vo.DeviceSecurityInfoVO;
|
||||
import com.youlai.boot.device.model.vo.DeviceSystemInfoVO;
|
||||
import com.youlai.boot.device.model.vo.DevicePageVO;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
public interface DeviceService extends IService<SnDeviceInfo> {
|
||||
|
||||
@@ -126,9 +128,16 @@ public interface DeviceService extends IService<SnDeviceInfo> {
|
||||
boolean fileTransfer(String sn);
|
||||
|
||||
/**
|
||||
* 短信同步(通知设备上传短信记录)
|
||||
* 向设备推送自定义 contentType 指令
|
||||
*
|
||||
* @param sn 设备序列号(JPush alias)
|
||||
* @param contentType 设备端 {@code PushExecutor} 对应的指令类型
|
||||
* @param title 推送标题
|
||||
* @param content 推送内容
|
||||
* @param extras 透传扩展字段,可为 null
|
||||
* @return 是否推送成功
|
||||
*/
|
||||
boolean msgSync(String sn);
|
||||
boolean pushCustom(String sn, String contentType, String title, String content, Map<String, Object> extras);
|
||||
|
||||
/**
|
||||
* 清理(通知设备清理缓存/垃圾文件)
|
||||
|
||||
Reference in new issue
Block a user