添加设备操作日志方法
This commit is contained in:
@@ -81,3 +81,33 @@ type VoiceAssistant struct {
|
||||
BemFaEnable uint8 `json:"bem_fa_enable"`
|
||||
BemFaName string `json:"bem_fa_name"`
|
||||
}
|
||||
|
||||
// 设备操作日志平台
|
||||
type DeviceOperationLogPlatform uint8
|
||||
|
||||
const (
|
||||
// 设备操作日志平台 - 管理后台
|
||||
DeviceOperationLogPlatformBackstage DeviceOperationLogPlatform = iota + 1
|
||||
// 设备操作日志平台 - 语音助手
|
||||
DeviceOperationLogPlatformAssistant
|
||||
// 设备操作日志平台 - 设备
|
||||
DeviceOperationLogPlatformDevice
|
||||
// 设备操作日志平台 - APP
|
||||
DeviceOperationLogPlatformApp
|
||||
// 设备操作日志平台 - 自动化
|
||||
DeviceOperationLogPlatformAutomation
|
||||
// 设备操作日志平台 - 桌面端
|
||||
DeviceOperationLogPlatformDesktop
|
||||
// 设备操作日志平台 - API
|
||||
DeviceOperationLogPlatformAPI
|
||||
)
|
||||
|
||||
// 设备操作日志结果
|
||||
type DeviceOperationLogResult uint8
|
||||
|
||||
const (
|
||||
// 设备操作日志结果 - 成功
|
||||
DeviceOperationLogResultSuccess DeviceOperationLogResult = iota + 1
|
||||
// 设备操作日志结果 - 失败
|
||||
DeviceOperationLogResultFail
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user