操盘手端 - 更新设备任务配置返工

This commit is contained in:
柳清爽
2025-04-16 17:14:48 +08:00
parent bd3f17baed
commit ad0d487b6b
15 changed files with 227 additions and 288 deletions

View File

@@ -11,17 +11,7 @@ class DeviceHandleLog extends Model
// 设置表名
protected $name = 'device_handle_log';
/**
* 添加设备操作日志
* @param array $data 日志数据
* @return int 新增日志ID
*/
public static function addLog($data)
{
$log = new self();
$log->allowField(true)->save($data);
return $log->id;
}
/**
* 获取设备操作日志列表