mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-12-03 02:23:16 +00:00
add file conn log
This commit is contained in:
@@ -24,3 +24,23 @@ type AuditConnList struct {
|
||||
AuditConns []*AuditConn `json:"list"`
|
||||
Pagination
|
||||
}
|
||||
|
||||
type AuditFile struct {
|
||||
IdModel
|
||||
FromPeer string `json:"from_peer" gorm:"default:'';not null;index"`
|
||||
Info string `json:"info" gorm:"default:'';not null;"`
|
||||
IsFile bool `json:"is_file" gorm:"default:0;not null;"`
|
||||
Path string `json:"path" gorm:"default:'';not null;"`
|
||||
PeerId string `json:"peer_id" gorm:"default:'';not null;index"`
|
||||
Type int `json:"type" gorm:"default:0;not null;"`
|
||||
Uuid string `json:"uuid" gorm:"default:'';not null;"`
|
||||
Ip string `json:"ip" gorm:"default:'';not null;"`
|
||||
Num int `json:"num" gorm:"default:0;not null;"`
|
||||
FromName string `json:"from_name" gorm:"default:'';not null;"`
|
||||
TimeModel
|
||||
}
|
||||
|
||||
type AuditFileList struct {
|
||||
AuditFiles []*AuditFile `json:"list"`
|
||||
Pagination
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user