mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-24 12:32:55 +08:00
fix(webconsole): record command input and ps1
This commit is contained in:
@@ -74,6 +74,7 @@ type SCommandLog struct {
|
||||
Type string `width:"32" charset:"utf8" nullable:"true" list:"user" create:"required"`
|
||||
LoginUser string `charset:"utf8" list:"user" create:"required"`
|
||||
StartTime time.Time `list:"user" create:"required"`
|
||||
Ps1 string `charset:"utf8" list:"user" create:"optional" json:"ps1"`
|
||||
Command CommandType `charset:"utf8" list:"user" create:"required"`
|
||||
}
|
||||
|
||||
@@ -96,6 +97,7 @@ type CommandLogCreateInput struct {
|
||||
Type CommandType
|
||||
LoginUser string
|
||||
StartTime time.Time
|
||||
Ps1 string `json:"ps1"`
|
||||
Command string
|
||||
Notes jsonutils.JSONObject
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user