17 lines
391 B
Go
17 lines
391 B
Go
package event
|
|
|
|
const (
|
|
EventTopic_UserExecute = "user.execute"
|
|
)
|
|
|
|
type EventPayload_UserExecute struct {
|
|
UserId int `json:"user_id"`
|
|
UserName string `json:"user_name"`
|
|
ProjectId int `json:"project_id"`
|
|
Resource string `json:"resource"`
|
|
Method string `json:"method"`
|
|
OldData any `json:"old_data"`
|
|
NewData any `json:"new_data"`
|
|
Any any `json:"any"`
|
|
}
|