admins

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminAction

type AdminAction struct {
	actionutils.ParentAction
}

func (*AdminAction) Init

func (this *AdminAction) Init()

func (*AdminAction) RunGet

func (this *AdminAction) RunGet(params struct {
	AdminId int64
})

type CreatePopupAction

type CreatePopupAction struct {
	actionutils.ParentAction
}

func (*CreatePopupAction) Init

func (this *CreatePopupAction) Init()

func (*CreatePopupAction) RunGet

func (this *CreatePopupAction) RunGet(params struct{})

func (*CreatePopupAction) RunPost

func (this *CreatePopupAction) RunPost(params struct {
	Fullname    string
	Username    string
	Pass1       string
	Pass2       string
	ModuleCodes []string
	IsSuper     bool
	CanLogin    bool

	// OTP
	OtpOn bool

	Must *actions.Must
	CSRF *actionutils.CSRF
})

type DeleteAction

type DeleteAction struct {
	actionutils.ParentAction
}

func (*DeleteAction) RunPost

func (this *DeleteAction) RunPost(params struct {
	AdminId int64
})

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

func (this *IndexAction) RunGet(params struct{})

type OptionsAction added in v0.0.13

type OptionsAction struct {
	actionutils.ParentAction
}

系统用户选项 组件中需要用到的系统用户选项

func (*OptionsAction) Init added in v0.0.13

func (this *OptionsAction) Init()

func (*OptionsAction) RunPost added in v0.0.13

func (this *OptionsAction) RunPost(params struct{})

type OtpQrcodeAction

type OtpQrcodeAction struct {
	actionutils.ParentAction
}

func (*OtpQrcodeAction) Init

func (this *OtpQrcodeAction) Init()

func (*OtpQrcodeAction) RunGet

func (this *OtpQrcodeAction) RunGet(params struct {
	AdminId int64
})

type UpdateAction

type UpdateAction struct {
	actionutils.ParentAction
}

func (*UpdateAction) Init

func (this *UpdateAction) Init()

func (*UpdateAction) RunGet

func (this *UpdateAction) RunGet(params struct {
	AdminId int64
})

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	AdminId int64

	Fullname    string
	Username    string
	Pass1       string
	Pass2       string
	ModuleCodes []string
	IsOn        bool
	IsSuper     bool
	CanLogin    bool

	// OTP
	OtpOn bool

	Must *actions.Must
	CSRF *actionutils.CSRF
})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL