16 lines
360 B
Go
16 lines
360 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"`
|
|
}
|