Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Logo string `json:"logo" gorm:"column:logo"` LogoUrl string `json:"logoUrl" gorm:"-"` Keyword string `json:"keyword" gorm:"column:keyword"` Name string `json:"name" gorm:"column:name"` Status *bool `json:"status" gorm:"column:status"` DisableDesc *string `json:"disableDesc" gorm:"column:disable_desc"` AllowRegistry *bool `json:"allowRegistry" gorm:"column:allow_registry"` Version string `json:"version" gorm:"column:version"` Copyright string `json:"copyright" gorm:"column:copyright"` Extra *string `json:"extra" gorm:"column:extra"` Description *string `json:"description" gorm:"column:description"` AppChannels []*AppChannel `json:"appChannels"` AppFields []*AppField `json:"appFields"` Channels []*Channel `json:"channels" gorm:"many2many:app_channel"` Fields []*Field `json:"fields" gorm:"many2many:app_field"` types.BaseModel }
type AppChannel ¶
type Auth ¶
type Auth struct { UserId uint32 `json:"userId" gorm:"column:user_id"` AppId uint32 `json:"appId" gorm:"column:app_id"` Status *bool `json:"status" gorm:"column:status"` DisableDesc *string `json:"disableDesc" gorm:"column:disable_desc"` Setting *string `json:"setting" gorm:"column:setting"` Token string `json:"token" gorm:"column:token"` LoggedAt int64 `json:"loggedAt" gorm:"column:logged_at"` ExpiredAt int64 `json:"expiredAt" gorm:"column:expired_at"` App *App `json:"app"` types.CreateModel }
func (*Auth) GetDisableDescString ¶
type Channel ¶
type Channel struct { Logo string `json:"logo" gorm:"column:logo"` Keyword string `json:"keyword" gorm:"column:keyword"` Name string `json:"name" gorm:"column:name"` Status *bool `json:"status" gorm:"column:status"` Ak *string `json:"ak" gorm:"column:ak"` Sk *string `json:"sk" gorm:"column:sk"` Extra *string `json:"extra" gorm:"column:extra"` LogoUrl string `json:"logoUrl" gorm:"-"` types.BaseModel }
func (*Channel) GetAkString ¶
func (*Channel) GetExtraString ¶
func (*Channel) GetSkString ¶
type ChannelTyper ¶
type Feedback ¶
type Feedback struct { AppId uint32 `json:"appId" gorm:"column:app_id"` UserId uint32 `json:"userId" gorm:"column:user_id"` CategoryId uint32 `json:"categoryId" gorm:"column:category_id"` Title string `json:"title" gorm:"column:title"` Content string `json:"content" gorm:"column:content"` Status string `json:"status" gorm:"column:status"` Images *string `json:"images" gorm:"column:images"` Contact *string `json:"contact" gorm:"column:contact"` Device string `json:"device" gorm:"column:device"` Platform string `json:"platform" gorm:"column:platform"` Version string `json:"version" gorm:"column:version"` Md5 string `json:"md5" gorm:"column:md5"` ProcessedBy *uint32 `json:"processedBy" gorm:"column:processed_by"` ProcessedResult *string `json:"processedResult" gorm:"column:processed_result"` App *App `json:"app"` User *User `json:"user"` Category *FeedbackCategory `json:"category" gorm:"foreignKey:category_id;references:id"` ImageUrls []string `json:"imageUrls" gorm:"-"` types.BaseModel }
type FeedbackCategory ¶
type FeedbackCategory struct { Name string `json:"name" gorm:"column:name"` types.CreateModel }
type OAuth ¶
type OAuth struct { UserId *uint32 `json:"userId" gorm:"column:user_id"` ChannelId uint32 `json:"channelId" gorm:"column:channel_id"` AuthId string `json:"authId" gorm:"column:auth_id"` UnionId *string `json:"unionId" gorm:"column:union_id"` Token string `json:"token" gorm:"column:token"` LoggedAt int64 `json:"loggedAt" gorm:"column:logged_at"` ExpiredAt int64 `json:"expiredAt" gorm:"column:expired_at"` Channel *Channel `json:"channel"` types.CreateModel }
type User ¶
type User struct { Phone *string `json:"phone" gorm:"column:phone"` Email *string `json:"email" gorm:"column:email"` Username *string `json:"username" gorm:"column:username"` Password *string `json:"password" gorm:"column:password"` NickName string `json:"nickName" gorm:"column:nick_name"` RealName *string `json:"realName" gorm:"column:real_name"` Avatar *string `json:"avatar" gorm:"column:avatar"` AvatarUrl *string `json:"avatarUrl" gorm:"-"` Gender *string `json:"gender" gorm:"column:gender"` Status *bool `json:"status" gorm:"column:status"` DisableDesc *string `json:"disableDesc" gorm:"column:disable_desc"` From string `json:"from" gorm:"column:from"` FromDesc string `json:"fromDesc" gorm:"column:from_desc"` Auths []*Auth `json:"-" gorm:"foreignKey:user_id;references:id"` types.DeleteModel }
Click to show internal directories.
Click to hide internal directories.