Documentation ¶
Index ¶
- func AddBaseMenu(menu model.SysBaseMenu) (err error)
- func AddMenuAuthority(menus []model.SysBaseMenu, authorityId string) (err error)
- func AutoCreateApi(api model.SysApi) (err error)
- func Casbin() *casbin.Enforcer
- func ChangePassword(u *model.SysUser, newPassword string) (err error, userInter *model.SysUser)
- func CheckFileMd5(md5 string) (err error, uploads []model.ExaSimpleUploader, isDone bool)
- func ClearCasbin(v int, p ...string) bool
- func CopyAuthority(copyInfo response.SysAuthorityCopyResponse) (err error, authority model.SysAuthority)
- func Create(wk model.SysWorkflow) error
- func CreateApi(api model.SysApi) (err error)
- func CreateAuthority(auth model.SysAuthority) (err error, authority model.SysAuthority)
- func CreateExaCustomer(e model.ExaCustomer) (err error)
- func CreateFileChunk(id uint, fileChunkPath string, fileChunkNumber int) error
- func CreateSysDictionary(sysDictionary model.SysDictionary) (err error)
- func CreateSysDictionaryDetail(sysDictionaryDetail model.SysDictionaryDetail) (err error)
- func CreateSysOperationRecord(sysOperationRecord model.SysOperationRecord) (err error)
- func CreateTemp(autoCode model.AutoCodeStruct) (err error)
- func DeleteApi(api model.SysApi) (err error)
- func DeleteAuthority(auth *model.SysAuthority) (err error)
- func DeleteBaseMenu(id float64) (err error)
- func DeleteExaCustomer(e model.ExaCustomer) (err error)
- func DeleteFile(file model.ExaFileUploadAndDownload) (err error)
- func DeleteFileChunk(fileMd5 string, fileName string, filePath string) error
- func DeleteSysDictionary(sysDictionary model.SysDictionary) (err error)
- func DeleteSysDictionaryDetail(sysDictionaryDetail model.SysDictionaryDetail) (err error)
- func DeleteSysOperationRecord(sysOperationRecord model.SysOperationRecord) (err error)
- func DeleteSysOperationRecordByIds(ids request.IdsReq) (err error)
- func DeleteUser(id float64) (err error)
- func EmailTest() (err error)
- func FindFile(id uint) (error, model.ExaFileUploadAndDownload)
- func FindOrCreateFile(fileMd5 string, fileName string, chunkTotal int) (err error, file model.ExaFile)
- func FindUserById(id int) (err error, user *model.SysUser)
- func FindUserByUuid(uuid string) (err error, user *model.SysUser)
- func GetAPIInfoList(api model.SysApi, info request.PageInfo, order string, desc bool) (err error, list interface{}, total int64)
- func GetAllApis() (err error, apis []model.SysApi)
- func GetAllTplFile(pathName string, fileList []string) ([]string, error)
- func GetApiById(id float64) (err error, api model.SysApi)
- func GetAuthorityInfo(auth model.SysAuthority) (err error, sa model.SysAuthority)
- func GetAuthorityInfoList(info request.PageInfo) (err error, list interface{}, total int64)
- func GetBaseMenuById(id float64) (err error, menu model.SysBaseMenu)
- func GetBaseMenuTree() (err error, menus []model.SysBaseMenu)
- func GetColumn(tableName string, dbName string) (err error, Columns []request.ColumnReq)
- func GetCustomerInfoList(sysUserAuthorityID string, info request.PageInfo) (err error, list interface{}, total int64)
- func GetDB() (err error, DBNames []request.DBReq)
- func GetExaCustomer(id uint) (err error, customer model.ExaCustomer)
- func GetFileRecordInfoList(info request.PageInfo) (err error, list interface{}, total int64)
- func GetInfoList() (err error, list interface{}, total int64)
- func GetMenuAuthority(info *request.GetAuthorityId) (err error, menus []model.SysMenu)
- func GetMenuTree(authorityId string) (err error, menus []model.SysMenu)
- func GetPolicyPathByAuthorityId(authorityId string) (pathMaps []request.CasbinInfo)
- func GetRedisJWT(userName string) (err error, redisJWT string)
- func GetServerInfo() (server *utils.Server, err error)
- func GetSysDictionary(Type string, Id uint) (err error, sysDictionary model.SysDictionary)
- func GetSysDictionaryDetail(id uint) (err error, sysDictionaryDetail model.SysDictionaryDetail)
- func GetSysDictionaryDetailInfoList(info request.SysDictionaryDetailSearch) (err error, list interface{}, total int64)
- func GetSysDictionaryInfoList(info request.SysDictionarySearch) (err error, list interface{}, total int64)
- func GetSysOperationRecord(id uint) (err error, sysOperationRecord model.SysOperationRecord)
- func GetSysOperationRecordInfoList(info request.SysOperationRecordSearch) (err error, list interface{}, total int64)
- func GetSystemConfig() (err error, conf config.Server)
- func GetTables(dbName string) (err error, TableNames []request.TableReq)
- func GetUserInfoList(info request.PageInfo) (err error, list interface{}, total int64)
- func IsBlacklist(jwt string) bool
- func JsonInBlacklist(jwtList model.JwtBlacklist) (err error)
- func Login(u *model.SysUser) (err error, userInter *model.SysUser)
- func MergeFileMd5(md5 string, fileName string) (err error)
- func ParamsMatch(fullNameKey1 string, key2 string) bool
- func ParamsMatchFunc(args ...interface{}) (interface{}, error)
- func Register(u model.SysUser) (err error, userInter model.SysUser)
- func SaveChunk(uploader model.ExaSimpleUploader) (err error)
- func SetDataAuthority(auth model.SysAuthority) error
- func SetMenuAuthority(auth *model.SysAuthority) error
- func SetRedisJWT(jwt string, userName string) (err error)
- func SetSystemConfig(system model.System) (err error)
- func SetUserAuthority(uuid uuid.UUID, authorityId string) (err error)
- func SetUserInfo(reqUser model.SysUser) (err error, user model.SysUser)
- func UpdateApi(api model.SysApi) (err error)
- func UpdateAuthority(auth model.SysAuthority) (err error, authority model.SysAuthority)
- func UpdateBaseMenu(menu model.SysBaseMenu) (err error)
- func UpdateCasbin(authorityId string, casbinInfos []request.CasbinInfo) error
- func UpdateCasbinApi(oldPath string, newPath string, oldMethod string, newMethod string) error
- func UpdateExaCustomer(e *model.ExaCustomer) (err error)
- func UpdateSysDictionary(sysDictionary *model.SysDictionary) (err error)
- func UpdateSysDictionaryDetail(sysDictionaryDetail *model.SysDictionaryDetail) (err error)
- func Upload(file model.ExaFileUploadAndDownload) error
- func UploadFile(header *multipart.FileHeader, noSave string) (err error, file model.ExaFileUploadAndDownload)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBaseMenu ¶
func AddBaseMenu(menu model.SysBaseMenu) (err error)
func AddMenuAuthority ¶
func AddMenuAuthority(menus []model.SysBaseMenu, authorityId string) (err error)
func AutoCreateApi ¶
func ChangePassword ¶
func CheckFileMd5 ¶
func CheckFileMd5(md5 string) (err error, uploads []model.ExaSimpleUploader, isDone bool)
func ClearCasbin ¶
func CopyAuthority ¶
func CopyAuthority(copyInfo response.SysAuthorityCopyResponse) (err error, authority model.SysAuthority)
func Create ¶
func Create(wk model.SysWorkflow) error
func CreateAuthority ¶
func CreateAuthority(auth model.SysAuthority) (err error, authority model.SysAuthority)
func CreateExaCustomer ¶
func CreateExaCustomer(e model.ExaCustomer) (err error)
func CreateFileChunk ¶
func CreateSysDictionary ¶
func CreateSysDictionary(sysDictionary model.SysDictionary) (err error)
func CreateSysDictionaryDetail ¶
func CreateSysDictionaryDetail(sysDictionaryDetail model.SysDictionaryDetail) (err error)
func CreateSysOperationRecord ¶
func CreateSysOperationRecord(sysOperationRecord model.SysOperationRecord) (err error)
func CreateTemp ¶
func CreateTemp(autoCode model.AutoCodeStruct) (err error)
func DeleteAuthority ¶
func DeleteAuthority(auth *model.SysAuthority) (err error)
func DeleteBaseMenu ¶
func DeleteExaCustomer ¶
func DeleteExaCustomer(e model.ExaCustomer) (err error)
func DeleteFile ¶
func DeleteFile(file model.ExaFileUploadAndDownload) (err error)
func DeleteSysDictionary ¶
func DeleteSysDictionary(sysDictionary model.SysDictionary) (err error)
func DeleteSysDictionaryDetail ¶
func DeleteSysDictionaryDetail(sysDictionaryDetail model.SysDictionaryDetail) (err error)
func DeleteSysOperationRecord ¶
func DeleteSysOperationRecord(sysOperationRecord model.SysOperationRecord) (err error)
func DeleteUser ¶
func FindOrCreateFile ¶
func GetAPIInfoList ¶
func GetAllApis ¶
func GetAuthorityInfo ¶
func GetAuthorityInfo(auth model.SysAuthority) (err error, sa model.SysAuthority)
func GetAuthorityInfoList ¶
func GetBaseMenuById ¶
func GetBaseMenuById(id float64) (err error, menu model.SysBaseMenu)
func GetBaseMenuTree ¶
func GetBaseMenuTree() (err error, menus []model.SysBaseMenu)
func GetCustomerInfoList ¶
func GetExaCustomer ¶
func GetExaCustomer(id uint) (err error, customer model.ExaCustomer)
func GetFileRecordInfoList ¶
func GetInfoList ¶
func GetMenuAuthority ¶
func GetMenuAuthority(info *request.GetAuthorityId) (err error, menus []model.SysMenu)
func GetPolicyPathByAuthorityId ¶
func GetPolicyPathByAuthorityId(authorityId string) (pathMaps []request.CasbinInfo)
func GetRedisJWT ¶
func GetServerInfo ¶
func GetSysDictionary ¶
func GetSysDictionary(Type string, Id uint) (err error, sysDictionary model.SysDictionary)
func GetSysDictionaryDetail ¶
func GetSysDictionaryDetail(id uint) (err error, sysDictionaryDetail model.SysDictionaryDetail)
func GetSysDictionaryDetailInfoList ¶
func GetSysDictionaryDetailInfoList(info request.SysDictionaryDetailSearch) (err error, list interface{}, total int64)
func GetSysDictionaryInfoList ¶
func GetSysDictionaryInfoList(info request.SysDictionarySearch) (err error, list interface{}, total int64)
func GetSysOperationRecord ¶
func GetSysOperationRecord(id uint) (err error, sysOperationRecord model.SysOperationRecord)
func GetSysOperationRecordInfoList ¶
func GetSysOperationRecordInfoList(info request.SysOperationRecordSearch) (err error, list interface{}, total int64)
func GetSystemConfig ¶
func GetUserInfoList ¶
func IsBlacklist ¶
func JsonInBlacklist ¶
func JsonInBlacklist(jwtList model.JwtBlacklist) (err error)
func MergeFileMd5 ¶
func ParamsMatch ¶
func ParamsMatchFunc ¶
func ParamsMatchFunc(args ...interface{}) (interface{}, error)
func SaveChunk ¶
func SaveChunk(uploader model.ExaSimpleUploader) (err error)
func SetDataAuthority ¶
func SetDataAuthority(auth model.SysAuthority) error
func SetMenuAuthority ¶
func SetMenuAuthority(auth *model.SysAuthority) error
func SetRedisJWT ¶
func SetSystemConfig ¶
func UpdateAuthority ¶
func UpdateAuthority(auth model.SysAuthority) (err error, authority model.SysAuthority)
func UpdateBaseMenu ¶
func UpdateBaseMenu(menu model.SysBaseMenu) (err error)
func UpdateCasbin ¶
func UpdateCasbin(authorityId string, casbinInfos []request.CasbinInfo) error
func UpdateCasbinApi ¶
func UpdateExaCustomer ¶
func UpdateExaCustomer(e *model.ExaCustomer) (err error)
func UpdateSysDictionary ¶
func UpdateSysDictionary(sysDictionary *model.SysDictionary) (err error)
func UpdateSysDictionaryDetail ¶
func UpdateSysDictionaryDetail(sysDictionaryDetail *model.SysDictionaryDetail) (err error)
func Upload ¶
func Upload(file model.ExaFileUploadAndDownload) error
func UploadFile ¶
func UploadFile(header *multipart.FileHeader, noSave string) (err error, file model.ExaFileUploadAndDownload)
Types ¶
This section is empty.
Source Files ¶
- exa_breakpoint_continue.go
- exa_customer.go
- exa_file_upload_download.go
- exa_simple_uploader.go
- jwt_black_list.go
- sys_api.go
- sys_authority.go
- sys_auto_code.go
- sys_base_menu.go
- sys_casbin.go
- sys_dictionary.go
- sys_dictionary_detail.go
- sys_email.go
- sys_menu.go
- sys_operation_record.go
- sys_system.go
- sys_user.go
- sys_workflow.go
Click to show internal directories.
Click to hide internal directories.