Files
ai-agent/internal/pkg/dto/dto.go
T

36 lines
774 B
Go
Raw Normal View History

2026-04-09 10:01:23 +08:00
package dto
import (
"code.tczkiot.com/wlw/ai-agent/identity"
"code.tczkiot.com/wlw/ai-agent/internal/pkg/enums"
)
2026-04-09 10:01:23 +08:00
type AuthPrincipal struct {
SubjectType identity.SubjectType
2026-04-09 10:01:23 +08:00
UserID int64
Username string
Nickname string
Avatar string
Status enums.Status
Roles []string
Permissions []string
}
type WxWorkKFChannelConfig struct {
OpenKfID string `json:"open_kf_id"`
}
type WebChannelConfig struct {
Title string `json:"title"`
Subtitle string `json:"subtitle"`
ThemeColor string `json:"theme_color"`
Position string `json:"position"`
Width string `json:"width"`
}
type WechatMPChannelConfig struct {
Title string `json:"title"`
Subtitle string `json:"subtitle"`
ThemeColor string `json:"theme_color"`
}