Versions in this module Expand all Collapse all v3 v3.1.1 Dec 30, 2024 v3.1.0 Dec 30, 2024 v3.0.1 Dec 8, 2024 v3.0.0 Dec 8, 2024 Changes in this version + const DateFormat + const TimeFormat + func GetError(errs error, f interface{}) error + type Admin struct + Email string + Id uint + IsSuper uint16 + LastLoginIp string + LastLoginTime JSONTime + Mobile string + Password string + Pid uint + RegIp string + RegTime JSONTime + Status uint16 + Token string + UpdateTime JSONTime + Username string + func (m *Admin) BeforeSave(tx *gorm.DB) error + type AppConfig struct + AppName string + AuthEnable uint16 + ExclusionUrl string + Id uint + LoginEnable uint16 + Status uint16 + Type uint16 + type DataActionListForm struct + Data *actionListForm + type DataAddRoleForm struct + Data *addRoleForm + type DataAdminForm struct + Data *Admin + type DataApiMapForm struct + Data *apiMapForm + type DataAppConfigForm struct + Data *AppConfig + type DataAppIdForm struct + Data *appIdForm + type DataBatchForm struct + Data string + type DataDelRoleForm struct + Data *delRoleForm + type DataDropdownForm struct + Data *DropdownForm + type DataFieldOptionForm struct + Data *FieldOption + type DataIdForm struct + Data *IdForm + type DataIdListForm struct + Data *IdListForm + type DataLoginForm struct + Data *LoginForm + type DataLogoutForm struct + Data *LogoutForm + type DataMenuForm struct + Data *Menu + type DataModelActionForm struct + Data *ModelAction + type DataModelConfigForm struct + Data *ModelConfig + type DataModelFieldForm struct + Data *ModelField + type DataModelFormForm struct + Data *ModelForm + type DataModelFormLinkageForm struct + Data *ModelFormLinkage + type DataModelFormRulesForm struct + Data *ModelFormRules + type DataModelIndexForm struct + Data *ModelIndex + type DataModelRelationForm struct + Data *ModelRelation + type DataPermissionForm struct + Data *permissionForm + type DataRoleForm struct + Data *roleForm + type DataRoleUsersForm struct + Data *roleUsersForm + type DataRolesForm struct + Data *Roles + type DataUploadForm struct + Data *Upload + type DataUserPermissionForm struct + Data *userPermissionForm + type DataUsernameForm struct + Data *usernameForm + type DropdownForm struct + AppId uint + LinkageFieldId uint + ModelFieldId uint + ModelId uint + RelationModelId uint + TableName string + type FieldOption struct + Id uint + ModelFieldId uint + ModelId uint + OptionLabel string + OptionValue string + Status uint16 + Type uint16 + type IdForm struct + Id uint + type IdListForm struct + IdList string + type JSONDate struct + func (t *JSONDate) Scan(v interface{}) error + func (t *JSONDate) UnmarshalJSON(data []byte) error + func (t JSONDate) MarshalJSON() ([]byte, error) + func (t JSONDate) String() string + func (t JSONDate) Value() (driver.Value, error) + type JSONTime struct + func (t *JSONTime) Scan(v interface{}) error + func (t *JSONTime) UnmarshalJSON(data []byte) error + func (t JSONTime) MarshalJSON() ([]byte, error) + func (t JSONTime) String() string + func (t JSONTime) Value() (driver.Value, error) + type LoginForm struct + LastLoginIp string + LastLoginTime JSONTime + LoginName string + Password string + type LogoutForm struct + Token string + type Menu struct + AppId uint + Children *MenuTree + Icon string + Id uint + IdPath string + ModelId uint + PathName string + Pid uint + SortNum uint + Status uint + Title string + Type uint + func MenuModel() *Menu + func (m *Menu) ToNavTree(data []*NavMenu) NavMenuTree + func (m *Menu) ToTree(data []*Menu) MenuTree + type MenuTree []*Menu + type Migrations struct + Breakpoint uint8 + EndTime time.Time + MigrationName string + StartTime time.Time + Version int64 + type ModelAction struct + ActionType string + ApiPath string + Id uint + Label string + ModelId uint + Status uint + type ModelConfig struct + AppId uint + ComponentTpl string + DefaultActionId uint + Id uint + IsTree uint16 + Label string + Remark string + SearchFieldId string + Status uint16 + TableName string + Type uint16 + type ModelField struct + ColumnWidth uint + DecimalLength uint16 + DefaultValue string + FieldName string + Id uint + IsAutoIncrement uint16 + IsCode uint16 + IsFilter uint16 + IsFixed uint16 + IsLabel uint16 + IsNull uint16 + IsShow uint16 + IsSigned uint16 + Label string + Length uint + ModelId uint + Note string + SortNum uint + Status uint16 + Type string + type ModelForm struct + DefaultValue string + Id uint + IsDisabled uint16 + IsEdit uint16 + ModelFieldId uint + ModelId uint + Placeholder string + SortNum uint + Status uint16 + Type string + type ModelFormLinkage struct + Id uint + LinkageActionId uint + LinkageFieldId uint + ModelFieldId uint + ModelId uint + Status uint16 + type ModelFormRules struct + ErrorTips string + Id uint + ModelFormId uint + ModelId uint + RuleType string + RuleValue string + Status uint16 + type ModelIndex struct + Id uint + IndexType string + ModelFieldId string + ModelId uint + Status uint16 + type ModelRelation struct + Id uint + ModelFieldId uint + ModelId uint + RelationFieldId uint + RelationFilter string + RelationModelId uint + RelationShowFieldId string + Status uint16 + type NavMenu struct + AppId uint + AppName string + Children *NavMenuTree + ComponentTpl string + DefaultActionType string + Icon string + Id uint + IdPath []string + IdPathStr string + IsTree uint + Mid string + ModelId uint + PathName []string + PathNameStr string + Pid uint + SearchFieldId string + TableName string + Title string + type NavMenuTree []*NavMenu + type Roles struct + Children *RolesTree + Id uint + IdPath string + Pid uint + Remark string + RoleName string + Status uint16 + func RolesModel() *Roles + func (m *Roles) ToTree(data []*Roles) RolesTree + type RolesTree []*Roles + type Rules struct + ID uint + Ptype string + V0 string + V1 string + V2 string + V3 string + V4 string + V5 string + V6 string + V7 string + type Upload struct + Id uint + Status uint