feat(device): 添加设备策略信息管理功能
新增设备策略信息表 sys_sn_device_policy 及对应实体、Mapper、Converter、VO、Req 模型,并在设备端、家属端、管理端分别提供策略查询、全量更新和单独开关设置接口。同时修正设备菜单按钮权限命名(add/edit → create/update),并调整删除设备与解绑接口的权限和返回值。
This commit is contained in:
@@ -145,6 +145,17 @@ public interface DeviceService extends IService<SnDeviceInfo> {
|
||||
*/
|
||||
boolean screenLock(String sn);
|
||||
|
||||
/**
|
||||
* 解除设备绑定(管理员端发起)
|
||||
* <p>
|
||||
* 清除设备表 {@code sys_sn.snMobile} 的绑定手机号,并下发推送通知设备端
|
||||
* 在本地标记解绑状态,避免设备下次上报手机号时重新建立绑定。
|
||||
*
|
||||
* @param sn 设备序列号
|
||||
* @return 是否成功
|
||||
*/
|
||||
boolean unbindMobile(String sn);
|
||||
|
||||
/**
|
||||
* 打开应用
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user