操盘手端 - 更新设备任务配置返工
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取设备操作日志列表
|
||||
|
||||
Reference in New Issue
Block a user