Documentation ¶
Index ¶
- Variables
- type BASEController
- type COMMONController
- func (this *COMMONController) DeCompressZip(zipfilename string, unzipdir string) (err error, unzipfilenames []string)
- func (ctl *COMMONController) GetCurrentDirectory() string
- func (ctl *COMMONController) GetExt(filename string) string
- func (this *COMMONController) GetFileContentAsStringLines(filepath string) ([]string, error)
- func (ctl *COMMONController) GetFilename(filename string) string
- func (ctl *COMMONController) Getfilelistbyfiid()
- func (this *COMMONController) IsFDexists(filePath string) bool
- func (this *COMMONController) IsFileIncludestring(filePath string, includedstr string) bool
- func (this *COMMONController) Readfile2string(filePath string, charset string) (s string, err1 error)
- func (this *COMMONController) Readfilefirstline(filePath string, charset string) (s string, err1 error)
- func (ctl *COMMONController) Replacefilecontent(filepath string, fromstr string, tostr string) error
- func (ctl *COMMONController) Uploadfile()
- type COMPANYController
- type ENUMController
- type ENUMSEARCHController
- type FLOWController
- func (ctl *FLOWController) Cancelflow()
- func (ctl *FLOWController) Copyflowtemplate()
- func (ctl *FLOWController) Deleteflowtask()
- func (ctl *FLOWController) Deleteflowtemplate()
- func (ctl *FLOWController) Getagent()
- func (ctl *FLOWController) Getdonetask()
- func (ctl *FLOWController) Getdonetasklist()
- func (ctl *FLOWController) Getflowmonitorbypageindex()
- func (ctl *FLOWController) Getflowmonitorcount()
- func (ctl *FLOWController) Getfloworgvary()
- func (ctl *FLOWController) Getfloworgvarybypageindex()
- func (ctl *FLOWController) Getfloworgvarycount()
- func (ctl *FLOWController) Getflowstatus()
- func (ctl *FLOWController) Getflowstatusbyfiid()
- func (ctl *FLOWController) Getflowtask()
- func (ctl *FLOWController) Getflowtemplate()
- func (ctl *FLOWController) Getflowtemplatebyid()
- func (ctl *FLOWController) Getflowtemplateitem()
- func (ctl *FLOWController) Getflowtemplateoptions()
- func (ctl *FLOWController) Getmyflow()
- func (ctl *FLOWController) Gettaskidbytiidforng()
- func (ctl *FLOWController) Gettaskinfo()
- func (ctl *FLOWController) Gettodotask()
- func (ctl *FLOWController) Gettodotaskfortransfer()
- func (ctl *FLOWController) Gettodotasklist()
- func (ctl *FLOWController) Getuserforagent()
- func (ctl *FLOWController) Getuserforagentoptions()
- func (ctl *FLOWController) Leave()
- func (ctl *FLOWController) Saveagent()
- func (ctl *FLOWController) Savefloworgvary()
- func (ctl *FLOWController) Saveflowstatus()
- func (ctl *FLOWController) Saveflowtask()
- func (ctl *FLOWController) Saveflowtemplate()
- func (ctl *FLOWController) Skiptask()
- func (ctl *FLOWController) Transferpost()
- func (ctl *FLOWController) Transfersign()
- type LOGINController
- type MASTERController
- func (ctl *MASTERController) Deletegroup()
- func (ctl *MASTERController) Deletegroupprivilege()
- func (ctl *MASTERController) Deletemodual()
- func (ctl *MASTERController) Deletemodualtemplate()
- func (ctl *MASTERController) Deleteorg()
- func (ctl *MASTERController) Deleteorgprivilege()
- func (ctl *MASTERController) Deleterole()
- func (ctl *MASTERController) Deleteroleprivilege()
- func (ctl *MASTERController) Deleteuser()
- func (ctl *MASTERController) Deleteuserprivilege()
- func (ctl *MASTERController) Getallgroup()
- func (ctl *MASTERController) Getallgroupoptions()
- func (ctl *MASTERController) Getallmodual()
- func (ctl *MASTERController) Getallmodualoptions()
- func (ctl *MASTERController) Getallorg()
- func (ctl *MASTERController) Getallorgoptions()
- func (ctl *MASTERController) Getallrole()
- func (ctl *MASTERController) Getallroleoptions()
- func (ctl *MASTERController) Getalluser()
- func (ctl *MASTERController) Getalluseroptions()
- func (ctl *MASTERController) Getgroup()
- func (ctl *MASTERController) Getgrouproletreejson()
- func (ctl *MASTERController) Getgrouptreejson()
- func (ctl *MASTERController) Getlang()
- func (ctl *MASTERController) Getlangbypageindex()
- func (ctl *MASTERController) Getlangcount()
- func (ctl *MASTERController) Getleaders()
- func (ctl *MASTERController) Getmenumodualbyparent()
- func (ctl *MASTERController) Getmodual()
- func (ctl *MASTERController) Getmodualtemplate()
- func (ctl *MASTERController) Getmodualtreejson()
- func (ctl *MASTERController) Getnavigatormodualbyuser()
- func (ctl *MASTERController) Getorg()
- func (ctl *MASTERController) Getorgroletreejson()
- func (ctl *MASTERController) Getorgtreejson()
- func (ctl *MASTERController) Getorgvary()
- func (ctl *MASTERController) Getorgvaryoptions()
- func (ctl *MASTERController) Getprojectpath()
- func (ctl *MASTERController) Getrole()
- func (ctl *MASTERController) Getroleprivilegetreejson()
- func (ctl *MASTERController) Getroletreejson()
- func (ctl *MASTERController) Getuser()
- func (ctl *MASTERController) Getusergroup()
- func (ctl *MASTERController) Getusermodualtreejson()
- func (ctl *MASTERController) Getuseroptionsbyorgid()
- func (ctl *MASTERController) Getuserrole()
- func (ctl *MASTERController) Getuserroletreejson()
- func (ctl *MASTERController) Getusersbyorgid()
- func (ctl *MASTERController) Loadlangjson()
- func (ctl *MASTERController) Passwordchange()
- func (ctl *MASTERController) Passwordreset()
- func (ctl *MASTERController) Savegroup()
- func (ctl *MASTERController) Savegroupprivileges()
- func (ctl *MASTERController) Savelang()
- func (ctl *MASTERController) Savemodual()
- func (ctl *MASTERController) Savemodualtemplate()
- func (ctl *MASTERController) Saveorg()
- func (ctl *MASTERController) Saveorgprivileges()
- func (ctl *MASTERController) Saveorgvary()
- func (ctl *MASTERController) Saverole()
- func (ctl *MASTERController) Saveroleprivileges()
- func (ctl *MASTERController) Saveuser()
- func (ctl *MASTERController) Saveusergroup()
- func (ctl *MASTERController) Saveuserprivileges()
- func (ctl *MASTERController) Saveuserrole()
- func (ctl *MASTERController) Updatelangjson()
- func (ctl *MASTERController) Updateprojectpath()
- func (ctl *MASTERController) Updateuserinfo()
- func (ctl *MASTERController) Uploadusers()
- type Userpassword
Constants ¶
This section is empty.
Variables ¶
var GlobalSessions *session.Manager
(2)建立一个全局session mananger对象
Functions ¶
This section is empty.
Types ¶
type BASEController ¶
type BASEController struct { beego.Controller i18n.Locale User models.CMN_USER_TB IsLogin bool }
Operations about Users
func (*BASEController) Outputresult ¶
func (ctl *BASEController) Outputresult(err error)
func (*BASEController) Prepare ¶
func (this *BASEController) Prepare()
Prepare implemented Prepare method for baseRouter.
type COMMONController ¶
type COMMONController struct { //beego.Controller BASEController }
Operations about Users
func (*COMMONController) DeCompressZip ¶
func (this *COMMONController) DeCompressZip(zipfilename string, unzipdir string) (err error, unzipfilenames []string)
func (*COMMONController) GetCurrentDirectory ¶
func (ctl *COMMONController) GetCurrentDirectory() string
func (*COMMONController) GetExt ¶
func (ctl *COMMONController) GetExt(filename string) string
获得文件的扩展名
func (*COMMONController) GetFileContentAsStringLines ¶
func (this *COMMONController) GetFileContentAsStringLines(filepath string) ([]string, error)
文件按行读入数组
func (*COMMONController) GetFilename ¶
func (ctl *COMMONController) GetFilename(filename string) string
func (*COMMONController) Getfilelistbyfiid ¶
func (ctl *COMMONController) Getfilelistbyfiid()
func (*COMMONController) IsFDexists ¶
func (this *COMMONController) IsFDexists(filePath string) bool
func (*COMMONController) IsFileIncludestring ¶
func (this *COMMONController) IsFileIncludestring(filePath string, includedstr string) bool
文件中是否包含此字符串
func (*COMMONController) Readfile2string ¶
func (this *COMMONController) Readfile2string(filePath string, charset string) (s string, err1 error)
文件转换为字符串
func (*COMMONController) Readfilefirstline ¶
func (this *COMMONController) Readfilefirstline(filePath string, charset string) (s string, err1 error)
文件转换为字符串
func (*COMMONController) Replacefilecontent ¶
func (ctl *COMMONController) Replacefilecontent(filepath string, fromstr string, tostr string) error
func (*COMMONController) Uploadfile ¶
func (ctl *COMMONController) Uploadfile()
type COMPANYController ¶
type COMPANYController struct { //beego.Controller BASEController }
Operations about Users
func (*COMPANYController) Deletecompany ¶
func (ctl *COMPANYController) Deletecompany()
func (*COMPANYController) Getallcompany ¶
func (ctl *COMPANYController) Getallcompany()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*COMPANYController) Getallcompanyoptions ¶
func (ctl *COMPANYController) Getallcompanyoptions()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*COMPANYController) Getcompany ¶
func (ctl *COMPANYController) Getcompany()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*COMPANYController) Savecompany ¶
func (ctl *COMPANYController) Savecompany()
@Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
type ENUMController ¶
type ENUMController struct { //beego.Controller BASEController }
Operations about Users
func (*ENUMController) Deleteenumbyid ¶
func (ctl *ENUMController) Deleteenumbyid()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*ENUMController) Getenum ¶
func (ctl *ENUMController) Getenum()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*ENUMController) Getenumbyid ¶
func (ctl *ENUMController) Getenumbyid()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*ENUMController) Getenumitem ¶
func (ctl *ENUMController) Getenumitem()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*ENUMController) Getenumitemoptions ¶
func (ctl *ENUMController) Getenumitemoptions()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*ENUMController) Getenumoptions ¶
func (ctl *ENUMController) Getenumoptions()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*ENUMController) Saveenum ¶
func (ctl *ENUMController) Saveenum()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
type ENUMSEARCHController ¶
type ENUMSEARCHController struct { //beego.Controller BASEController }
Operations about Users
func (*ENUMSEARCHController) Getenumsearchbypageindex ¶
func (ctl *ENUMSEARCHController) Getenumsearchbypageindex()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*ENUMSEARCHController) Getenumsearchcount ¶
func (ctl *ENUMSEARCHController) Getenumsearchcount()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
type FLOWController ¶
type FLOWController struct { //beego.Controller BASEController }
Operations about Users
func (*FLOWController) Cancelflow ¶
func (ctl *FLOWController) Cancelflow()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Copyflowtemplate ¶
func (ctl *FLOWController) Copyflowtemplate()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Deleteflowtask ¶
func (ctl *FLOWController) Deleteflowtask()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Deleteflowtemplate ¶
func (ctl *FLOWController) Deleteflowtemplate()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getagent ¶
func (ctl *FLOWController) Getagent()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getdonetask ¶
func (ctl *FLOWController) Getdonetask()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getdonetasklist ¶
func (ctl *FLOWController) Getdonetasklist()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getflowmonitorbypageindex ¶
func (ctl *FLOWController) Getflowmonitorbypageindex()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getflowmonitorcount ¶
func (ctl *FLOWController) Getflowmonitorcount()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getfloworgvary ¶
func (ctl *FLOWController) Getfloworgvary()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getfloworgvarybypageindex ¶
func (ctl *FLOWController) Getfloworgvarybypageindex()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getfloworgvarycount ¶
func (ctl *FLOWController) Getfloworgvarycount()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getflowstatus ¶
func (ctl *FLOWController) Getflowstatus()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getflowstatusbyfiid ¶
func (ctl *FLOWController) Getflowstatusbyfiid()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getflowtask ¶
func (ctl *FLOWController) Getflowtask()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getflowtemplate ¶
func (ctl *FLOWController) Getflowtemplate()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getflowtemplatebyid ¶
func (ctl *FLOWController) Getflowtemplatebyid()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getflowtemplateitem ¶
func (ctl *FLOWController) Getflowtemplateitem()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getflowtemplateoptions ¶
func (ctl *FLOWController) Getflowtemplateoptions()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getmyflow ¶
func (ctl *FLOWController) Getmyflow()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Gettaskidbytiidforng ¶
func (ctl *FLOWController) Gettaskidbytiidforng()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Gettaskinfo ¶
func (ctl *FLOWController) Gettaskinfo()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Gettodotask ¶
func (ctl *FLOWController) Gettodotask()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Gettodotaskfortransfer ¶
func (ctl *FLOWController) Gettodotaskfortransfer()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Gettodotasklist ¶
func (ctl *FLOWController) Gettodotasklist()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getuserforagent ¶
func (ctl *FLOWController) Getuserforagent()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Getuserforagentoptions ¶
func (ctl *FLOWController) Getuserforagentoptions()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Leave ¶
func (ctl *FLOWController) Leave()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Saveagent ¶
func (ctl *FLOWController) Saveagent()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Savefloworgvary ¶
func (ctl *FLOWController) Savefloworgvary()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Saveflowstatus ¶
func (ctl *FLOWController) Saveflowstatus()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Saveflowtask ¶
func (ctl *FLOWController) Saveflowtask()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Saveflowtemplate ¶
func (ctl *FLOWController) Saveflowtemplate()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Skiptask ¶
func (ctl *FLOWController) Skiptask()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Transferpost ¶
func (ctl *FLOWController) Transferpost()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*FLOWController) Transfersign ¶
func (ctl *FLOWController) Transfersign()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
type LOGINController ¶
type LOGINController struct { //beego.Controller BASEController }
Operations about Users
func (*LOGINController) Login ¶
func (ctl *LOGINController) Login()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
type MASTERController ¶
type MASTERController struct { //beego.Controller BASEController }
Operations about Users
func (*MASTERController) Deletegroup ¶
func (ctl *MASTERController) Deletegroup()
func (*MASTERController) Deletegroupprivilege ¶
func (ctl *MASTERController) Deletegroupprivilege()
func (*MASTERController) Deletemodual ¶
func (ctl *MASTERController) Deletemodual()
func (*MASTERController) Deletemodualtemplate ¶
func (ctl *MASTERController) Deletemodualtemplate()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Deleteorg ¶
func (ctl *MASTERController) Deleteorg()
func (*MASTERController) Deleteorgprivilege ¶
func (ctl *MASTERController) Deleteorgprivilege()
func (*MASTERController) Deleterole ¶
func (ctl *MASTERController) Deleterole()
func (*MASTERController) Deleteroleprivilege ¶
func (ctl *MASTERController) Deleteroleprivilege()
func (*MASTERController) Deleteuser ¶
func (ctl *MASTERController) Deleteuser()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Deleteuserprivilege ¶
func (ctl *MASTERController) Deleteuserprivilege()
func (*MASTERController) Getallgroup ¶
func (ctl *MASTERController) Getallgroup()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getallgroupoptions ¶
func (ctl *MASTERController) Getallgroupoptions()
func (*MASTERController) Getallmodual ¶
func (ctl *MASTERController) Getallmodual()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getallmodualoptions ¶
func (ctl *MASTERController) Getallmodualoptions()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getallorg ¶
func (ctl *MASTERController) Getallorg()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getallorgoptions ¶
func (ctl *MASTERController) Getallorgoptions()
func (*MASTERController) Getallrole ¶
func (ctl *MASTERController) Getallrole()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getallroleoptions ¶
func (ctl *MASTERController) Getallroleoptions()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getalluser ¶
func (ctl *MASTERController) Getalluser()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getalluseroptions ¶
func (ctl *MASTERController) Getalluseroptions()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getgroup ¶
func (ctl *MASTERController) Getgroup()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getgrouproletreejson ¶
func (ctl *MASTERController) Getgrouproletreejson()
func (*MASTERController) Getgrouptreejson ¶
func (ctl *MASTERController) Getgrouptreejson()
func (*MASTERController) Getlang ¶
func (ctl *MASTERController) Getlang()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getlangbypageindex ¶
func (ctl *MASTERController) Getlangbypageindex()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getlangcount ¶
func (ctl *MASTERController) Getlangcount()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getleaders ¶
func (ctl *MASTERController) Getleaders()
func (*MASTERController) Getmenumodualbyparent ¶
func (ctl *MASTERController) Getmenumodualbyparent()
@Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getmodual ¶
func (ctl *MASTERController) Getmodual()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getmodualtemplate ¶
func (ctl *MASTERController) Getmodualtemplate()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getmodualtreejson ¶
func (ctl *MASTERController) Getmodualtreejson()
func (*MASTERController) Getnavigatormodualbyuser ¶
func (ctl *MASTERController) Getnavigatormodualbyuser()
@Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getorg ¶
func (ctl *MASTERController) Getorg()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getorgroletreejson ¶
func (ctl *MASTERController) Getorgroletreejson()
func (*MASTERController) Getorgtreejson ¶
func (ctl *MASTERController) Getorgtreejson()
func (*MASTERController) Getorgvary ¶
func (ctl *MASTERController) Getorgvary()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getorgvaryoptions ¶
func (ctl *MASTERController) Getorgvaryoptions()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getprojectpath ¶
func (ctl *MASTERController) Getprojectpath()
@Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getrole ¶
func (ctl *MASTERController) Getrole()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getroleprivilegetreejson ¶
func (ctl *MASTERController) Getroleprivilegetreejson()
func (*MASTERController) Getroletreejson ¶
func (ctl *MASTERController) Getroletreejson()
func (*MASTERController) Getuser ¶
func (ctl *MASTERController) Getuser()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getusergroup ¶
func (ctl *MASTERController) Getusergroup()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getusermodualtreejson ¶
func (ctl *MASTERController) Getusermodualtreejson()
func (*MASTERController) Getuseroptionsbyorgid ¶
func (ctl *MASTERController) Getuseroptionsbyorgid()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getuserrole ¶
func (ctl *MASTERController) Getuserrole()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Getuserroletreejson ¶
func (ctl *MASTERController) Getuserroletreejson()
func (*MASTERController) Getusersbyorgid ¶
func (ctl *MASTERController) Getusersbyorgid()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Loadlangjson ¶
func (ctl *MASTERController) Loadlangjson()
@Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Passwordchange ¶
func (ctl *MASTERController) Passwordchange()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Passwordreset ¶
func (ctl *MASTERController) Passwordreset()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Savegroup ¶
func (ctl *MASTERController) Savegroup()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Savegroupprivileges ¶
func (ctl *MASTERController) Savegroupprivileges()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Savelang ¶
func (ctl *MASTERController) Savelang()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Savemodual ¶
func (ctl *MASTERController) Savemodual()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Savemodualtemplate ¶
func (ctl *MASTERController) Savemodualtemplate()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Saveorg ¶
func (ctl *MASTERController) Saveorg()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Saveorgprivileges ¶
func (ctl *MASTERController) Saveorgprivileges()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Saveorgvary ¶
func (ctl *MASTERController) Saveorgvary()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Saverole ¶
func (ctl *MASTERController) Saverole()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Saveroleprivileges ¶
func (ctl *MASTERController) Saveroleprivileges()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Saveuser ¶
func (ctl *MASTERController) Saveuser()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Saveusergroup ¶
func (ctl *MASTERController) Saveusergroup()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Saveuserprivileges ¶
func (ctl *MASTERController) Saveuserprivileges()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Saveuserrole ¶
func (ctl *MASTERController) Saveuserrole()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Updatelangjson ¶
func (ctl *MASTERController) Updatelangjson()
@Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Updateprojectpath ¶
func (ctl *MASTERController) Updateprojectpath()
@Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Updateuserinfo ¶
func (ctl *MASTERController) Updateuserinfo()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]
func (*MASTERController) Uploadusers ¶
func (ctl *MASTERController) Uploadusers()
@Title createUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 403 body is empty @router / [post]