Documentation ¶
Index ¶
- func AddBaseMenu(c *gin.Context)
- func AddMenuAuthority(c *gin.Context)
- func BreakpointContinue(c *gin.Context)
- func BreakpointContinueFinish(c *gin.Context)
- func Captcha(c *gin.Context)
- func ChangePassword(c *gin.Context)
- func CheckDB(c *gin.Context)
- func CheckFileMd5(c *gin.Context)
- func CloseConnection(c *gin.Context)
- func CopyAuthority(c *gin.Context)
- func CreateApi(c *gin.Context)
- func CreateAuthority(c *gin.Context)
- func CreateExaCustomer(c *gin.Context)
- func CreateProductPlugin(c *gin.Context)
- func CreateSysDictionary(c *gin.Context)
- func CreateSysDictionaryDetail(c *gin.Context)
- func CreateSysOperationRecord(c *gin.Context)
- func CreateTemp(c *gin.Context)
- func DeleteApi(c *gin.Context)
- func DeleteApisByIds(c *gin.Context)
- func DeleteAuthority(c *gin.Context)
- func DeleteBaseMenu(c *gin.Context)
- func DeleteExaCustomer(c *gin.Context)
- func DeleteFile(c *gin.Context)
- func DeleteProductPlugin(c *gin.Context)
- func DeleteProductPluginByIds(c *gin.Context)
- func DeleteSysDictionary(c *gin.Context)
- func DeleteSysDictionaryDetail(c *gin.Context)
- func DeleteSysOperationRecord(c *gin.Context)
- func DeleteSysOperationRecordByIds(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func Destroy(c *gin.Context)
- func DownloadTemplate(c *gin.Context)
- func EmailTest(c *gin.Context)
- func ExportExcel(c *gin.Context)
- func FindFile(c *gin.Context)
- func FindProductPlugin(c *gin.Context)
- func FindSysDictionary(c *gin.Context)
- func FindSysDictionaryDetail(c *gin.Context)
- func FindSysOperationRecord(c *gin.Context)
- func GameRequest(c *gin.Context)
- func GetAllApis(c *gin.Context)
- func GetApiById(c *gin.Context)
- func GetApiList(c *gin.Context)
- func GetAuthorityList(c *gin.Context)
- func GetBaseMenuById(c *gin.Context)
- func GetBaseMenuTree(c *gin.Context)
- func GetColumn(c *gin.Context)
- func GetDB(c *gin.Context)
- func GetExaCustomer(c *gin.Context)
- func GetExaCustomerList(c *gin.Context)
- func GetFileList(c *gin.Context)
- func GetMenu(c *gin.Context)
- func GetMenuAuthority(c *gin.Context)
- func GetMenuList(c *gin.Context)
- func GetPolicyPathByAuthorityId(c *gin.Context)
- func GetProductPluginList(c *gin.Context)
- func GetServerInfo(c *gin.Context)
- func GetSysDictionaryDetailList(c *gin.Context)
- func GetSysDictionaryList(c *gin.Context)
- func GetSysOperationRecordList(c *gin.Context)
- func GetSystemConfig(c *gin.Context)
- func GetTables(c *gin.Context)
- func GetUserList(c *gin.Context)
- func ImportExcel(c *gin.Context)
- func InitDB(c *gin.Context)
- func JsonInBlacklist(c *gin.Context)
- func LoadExcel(c *gin.Context)
- func Login(c *gin.Context)
- func MergeFileMd5(c *gin.Context)
- func OpenConnection(c *gin.Context)
- func PreviewTemp(c *gin.Context)
- func Register(c *gin.Context)
- func ReloadSystem(c *gin.Context)
- func RemoveChunk(c *gin.Context)
- func SetDataAuthority(c *gin.Context)
- func SetSystemConfig(c *gin.Context)
- func SetUserAuthority(c *gin.Context)
- func SetUserInfo(c *gin.Context)
- func SimpleUploaderUpload(c *gin.Context)
- func UpdateApi(c *gin.Context)
- func UpdateAuthority(c *gin.Context)
- func UpdateBaseMenu(c *gin.Context)
- func UpdateCasbin(c *gin.Context)
- func UpdateExaCustomer(c *gin.Context)
- func UpdateProductPlugin(c *gin.Context)
- func UpdateSysDictionary(c *gin.Context)
- func UpdateSysDictionaryDetail(c *gin.Context)
- func UploadFile(c *gin.Context)
- func UploadPlugin(c *gin.Context)
- func VOwnedToken(c *gin.Context)
- func VServedPlugin(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBaseMenu ¶
@Tags Menu @Summary 新增菜单 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysBaseMenu true "路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记" @Success 200 {string} string "{"success":true,"data":{},"msg":"添加成功"}" @Router /menu/addBaseMenu [post]
func AddMenuAuthority ¶
@Tags AuthorityMenu @Summary 增加menu和角色关联关系 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.AddMenuAuthorityInfo true "角色ID" @Success 200 {string} string "{"success":true,"data":{},"msg":"添加成功"}" @Router /menu/addMenuAuthority [post]
func BreakpointContinue ¶
@Tags ExaFileUploadAndDownload @Summary 断点续传到服务器 @Security ApiKeyAuth @accept multipart/form-data @Produce application/json @Param file formData file true "an example for breakpoint resume, 断点续传示例" @Success 200 {string} string "{"success":true,"data":{},"msg":"切片创建成功"}" @Router /fileUploadAndDownload/breakpointContinue [post]
func BreakpointContinueFinish ¶
@Tags ExaFileUploadAndDownload @Summary 创建文件 @Security ApiKeyAuth @accept multipart/form-data @Produce application/json @Param file formData file true "上传文件完成" @Success 200 {string} string "{"success":true,"data":{},"msg":"file uploaded, 文件创建成功"}" @Router /fileUploadAndDownload/findFile [post]
func Captcha ¶
@Tags Base @Summary 生成验证码 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"验证码获取成功"}" @Router /base/captcha [post]
func ChangePassword ¶
@Tags SysUser @Summary 用户修改密码 @Security ApiKeyAuth @Produce application/json @Param data body request.ChangePasswordStruct true "用户名, 原密码, 新密码" @Success 200 {string} string "{"success":true,"data":{},"msg":"修改成功"}" @Router /user/changePassword [put]
func CheckDB ¶
@Tags CheckDB @Summary 初始化用户数据库 @Produce application/json @Success 200 {string} string "{"code":0,"data":{},"msg":"探测完成"}" @Router /init/checkdb [post]
func CheckFileMd5 ¶
@Tags SimpleUploader @Summary 断点续传插件版示例 @Security ApiKeyAuth @Produce application/json @Param md5 query string true "md5" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /simpleUploader/checkFileMd5 [get]
func CloseConnection ¶
func CopyAuthority ¶
@Tags Authority @Summary 拷贝角色 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body response.SysAuthorityCopyResponse true "旧角色id, 新权限id, 新权限名, 新父角色id" @Success 200 {string} string "{"success":true,"data":{},"msg":"拷贝成功"}" @Router /authority/copyAuthority [post]
func CreateApi ¶
@Tags SysApi @Summary 创建基础api @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysApi true "api路径, api中文描述, api组, 方法" @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" @Router /api/createApi [post]
func CreateAuthority ¶
@Tags Authority @Summary 创建角色 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysAuthority true "权限id, 权限名, 父角色id" @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" @Router /authority/createAuthority [post]
func CreateExaCustomer ¶
@Tags ExaCustomer @Summary 创建客户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.ExaCustomer true "客户用户名, 客户手机号码" @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" @Router /customer/customer [post]
func CreateProductPlugin ¶
@Tags ProductPlugin @Summary 创建ProductPlugin @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.ProductPlugin true "创建ProductPlugin" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /productPlugin/createProductPlugin [post]
func CreateSysDictionary ¶
@Tags SysDictionary @Summary 创建SysDictionary @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysDictionary true "SysDictionary模型" @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" @Router /sysDictionary/createSysDictionary [post]
func CreateSysDictionaryDetail ¶
@Tags SysDictionaryDetail @Summary 创建SysDictionaryDetail @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysDictionaryDetail true "SysDictionaryDetail模型" @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" @Router /sysDictionaryDetail/createSysDictionaryDetail [post]
func CreateSysOperationRecord ¶
@Tags SysOperationRecord @Summary 创建SysOperationRecord @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysOperationRecord true "创建SysOperationRecord" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /sysOperationRecord/createSysOperationRecord [post]
func CreateTemp ¶
@Tags AutoCode @Summary 自动代码模板 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.AutoCodeStruct true "创建自动代码" @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" @Router /autoCode/createTemp [post]
func DeleteApi ¶
@Tags SysApi @Summary 删除api @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysApi true "ID" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /api/deleteApi [post]
func DeleteApisByIds ¶
@Tags SysApi @Summary 删除选中Api @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "ID" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /api/deleteApisByIds [delete]
func DeleteAuthority ¶
@Tags Authority @Summary 删除角色 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysAuthority true "删除角色" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /authority/deleteAuthority [post]
func DeleteBaseMenu ¶
@Tags Menu @Summary 删除菜单 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.GetById true "菜单id" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /menu/deleteBaseMenu [post]
func DeleteExaCustomer ¶
@Tags ExaCustomer @Summary 删除客户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.ExaCustomer true "客户ID" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /customer/customer [delete]
func DeleteFile ¶
@Tags ExaFileUploadAndDownload @Summary 删除文件 @Security ApiKeyAuth @Produce application/json @Param data body model.ExaFileUploadAndDownload true "传入文件里面id即可" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /fileUploadAndDownload/deleteFile [post]
func DeleteProductPlugin ¶
@Tags ProductPlugin @Summary 删除ProductPlugin @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.ProductPlugin true "删除ProductPlugin" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /productPlugin/deleteProductPlugin [delete]
func DeleteProductPluginByIds ¶
@Tags ProductPlugin @Summary 批量删除ProductPlugin @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除ProductPlugin" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /productPlugin/deleteProductPluginByIds [delete]
func DeleteSysDictionary ¶
@Tags SysDictionary @Summary 删除SysDictionary @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysDictionary true "SysDictionary模型" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /sysDictionary/deleteSysDictionary [delete]
func DeleteSysDictionaryDetail ¶
@Tags SysDictionaryDetail @Summary 删除SysDictionaryDetail @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysDictionaryDetail true "SysDictionaryDetail模型" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /sysDictionaryDetail/deleteSysDictionaryDetail [delete]
func DeleteSysOperationRecord ¶
@Tags SysOperationRecord @Summary 删除SysOperationRecord @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysOperationRecord true "SysOperationRecord模型" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /sysOperationRecord/deleteSysOperationRecord [delete]
func DeleteSysOperationRecordByIds ¶
@Tags SysOperationRecord @Summary 批量删除SysOperationRecord @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除SysOperationRecord" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /sysOperationRecord/deleteSysOperationRecordByIds [delete]
func DeleteUser ¶
@Tags SysUser @Summary 删除用户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.GetById true "用户ID" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /user/deleteUser [delete]
func DownloadTemplate ¶
@Tags excel @Summary 下载模板 @Security ApiKeyAuth @accept multipart/form-data @Produce application/json @Param fileName query string true "模板名称" @Success 200 @Router /excel/downloadTemplate [get]
func EmailTest ¶
@Tags System @Summary 发送测试邮件 @Security ApiKeyAuth @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"发送成功"}" @Router /email/emailTest [post]
func ExportExcel ¶
@Tags excel @Summary 导出Excel @Security ApiKeyAuth @accept application/json @Produce application/octet-stream @Param data body model.ExcelInfo true "导出Excel文件信息" @Success 200 @Router /excel/exportExcel [post]
func FindFile ¶
@Tags ExaFileUploadAndDownload @Summary 查找文件 @Security ApiKeyAuth @accept multipart/form-data @Produce application/json @Param file formData file true "Find the file, 查找文件" @Success 200 {string} string "{"success":true,"data":{},"msg":"查找成功"}" @Router /fileUploadAndDownload/findFile [post]
func FindProductPlugin ¶
@Tags ProductPlugin @Summary 用id查询ProductPlugin @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.ProductPlugin true "用id查询ProductPlugin" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /productPlugin/findProductPlugin [get]
func FindSysDictionary ¶
@Tags SysDictionary @Summary 用id查询SysDictionary @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysDictionary true "ID或字典英名" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /sysDictionary/findSysDictionary [get]
func FindSysDictionaryDetail ¶
@Tags SysDictionaryDetail @Summary 用id查询SysDictionaryDetail @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysDictionaryDetail true "用id查询SysDictionaryDetail" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /sysDictionaryDetail/findSysDictionaryDetail [get]
func FindSysOperationRecord ¶
@Tags SysOperationRecord @Summary 用id查询SysOperationRecord @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysOperationRecord true "Id" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /sysOperationRecord/findSysOperationRecord [get]
func GameRequest ¶
func GetAllApis ¶
@Tags SysApi @Summary 获取所有的Api 不分页 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /api/getAllApis [post]
func GetApiById ¶
@Tags SysApi @Summary 根据id获取api @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.GetById true "根据id获取api" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /api/getApiById [post]
func GetApiList ¶
@Tags SysApi @Summary 分页获取API列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.SearchApiParams true "分页获取API列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /api/getApiList [post]
func GetAuthorityList ¶
@Tags Authority @Summary 分页获取角色列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.PageInfo true "页码, 每页大小" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /authority/getAuthorityList [post]
func GetBaseMenuById ¶
@Tags Menu @Summary 根据id获取菜单 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.GetById true "菜单id" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /menu/getBaseMenuById [post]
func GetBaseMenuTree ¶
@Tags AuthorityMenu @Summary 获取用户动态路由 @Security ApiKeyAuth @Produce application/json @Param data body request.Empty true "空" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /menu/getBaseMenuTree [post]
func GetColumn ¶
@Tags AutoCode @Summary 获取当前表所有字段 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /autoCode/getColumn [get]
func GetDB ¶
@Tags AutoCode @Summary 获取当前所有数据库 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /autoCode/getDatabase [get]
func GetExaCustomer ¶
@Tags ExaCustomer @Summary 获取单一客户信息 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.ExaCustomer true "客户ID" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /customer/customer [get]
func GetExaCustomerList ¶
@Tags ExaCustomer @Summary 分页获取权限客户列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.PageInfo true "页码, 每页大小" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /customer/customerList [get]
func GetFileList ¶
@Tags ExaFileUploadAndDownload @Summary 分页文件列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.PageInfo true "页码, 每页大小" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fileUploadAndDownload/getFileList [post]
func GetMenu ¶
@Tags AuthorityMenu @Summary 获取用户动态路由 @Security ApiKeyAuth @Produce application/json @Param data body request.Empty true "空" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /menu/getMenu [post]
func GetMenuAuthority ¶
@Tags AuthorityMenu @Summary 获取指定角色menu @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.GetAuthorityId true "角色ID" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /menu/GetMenuAuthority [post]
func GetMenuList ¶
@Tags Menu @Summary 分页获取基础menu列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.PageInfo true "页码, 每页大小" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /menu/getMenuList [post]
func GetPolicyPathByAuthorityId ¶
@Tags Casbin @Summary 获取权限列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.CasbinInReceive true "权限id, 权限模型列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /casbin/getPolicyPathByAuthorityId [post]
func GetProductPluginList ¶
@Tags ProductPlugin @Summary 分页获取ProductPlugin列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.ProductPluginSearch true "分页获取ProductPlugin列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /productPlugin/getProductPluginList [get]
func GetServerInfo ¶
@Tags System @Summary 获取服务器信息 @Security ApiKeyAuth @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /system/getServerInfo [post]
func GetSysDictionaryDetailList ¶
@Tags SysDictionaryDetail @Summary 分页获取SysDictionaryDetail列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.SysDictionaryDetailSearch true "页码, 每页大小, 搜索条件" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /sysDictionaryDetail/getSysDictionaryDetailList [get]
func GetSysDictionaryList ¶
@Tags SysDictionary @Summary 分页获取SysDictionary列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.SysDictionarySearch true "页码, 每页大小, 搜索条件" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /sysDictionary/getSysDictionaryList [get]
func GetSysOperationRecordList ¶
@Tags SysOperationRecord @Summary 分页获取SysOperationRecord列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.SysOperationRecordSearch true "页码, 每页大小, 搜索条件" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /sysOperationRecord/getSysOperationRecordList [get]
func GetSystemConfig ¶
@Tags System @Summary 获取配置文件内容 @Security ApiKeyAuth @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /system/getSystemConfig [post]
func GetTables ¶
@Tags AutoCode @Summary 获取当前数据库所有表 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /autoCode/getTables [get]
func GetUserList ¶
@Tags SysUser @Summary 分页获取用户列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.PageInfo true "页码, 每页大小" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /user/getUserList [post]
func ImportExcel ¶
@Tags excel @Summary 导入Excel文件 @Security ApiKeyAuth @accept multipart/form-data @Produce application/json @Param file formData file true "导入Excel文件" @Success 200 {string} string "{"success":true,"data":{},"msg":"导入成功"}" @Router /excel/importExcel [post]
func InitDB ¶
@Tags InitDB @Summary 初始化用户数据库 @Produce application/json @Param data body request.InitDB true "初始化数据库参数" @Success 200 {string} string "{"code":0,"data":{},"msg":"自动创建数据库成功"}" @Router /init/initdb [post]
func JsonInBlacklist ¶
@Tags Jwt @Summary jwt加入黑名单 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"拉黑成功"}" @Router /jwt/jsonInBlacklist [post]
func LoadExcel ¶
@Tags excel @Summary 加载Excel数据 @Security ApiKeyAuth @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"加载数据成功"}" @Router /excel/loadExcel [get]
func Login ¶
@Tags Base @Summary 用户登录 @Produce application/json @Param data body request.Login true "用户名, 密码, 验证码" @Success 200 {string} string "{"success":true,"data":{},"msg":"登陆成功"}" @Router /base/login [post]
func MergeFileMd5 ¶
@Tags SimpleUploader @Summary 合并文件 @Security ApiKeyAuth @Produce application/json @Param md5 query string true "md5" @Success 200 {string} string "{"success":true,"data":{},"msg":"合并成功"}" @Router /simpleUploader/mergeFileMd5 [get]
func OpenConnection ¶
func PreviewTemp ¶
@Tags AutoCode @Summary 预览创建后的代码 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.AutoCodeStruct true "预览创建代码" @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}" @Router /autoCode/preview [post]
func Register ¶
@Tags SysUser @Summary 用户注册账号 @Produce application/json @Param data body model.SysUser true "用户名, 昵称, 密码, 角色ID" @Success 200 {string} string "{"success":true,"data":{},"msg":"注册成功"}" @Router /user/register [post]
func ReloadSystem ¶
@Tags System @Summary 重启系统 @Security ApiKeyAuth @Produce application/json @Success 200 {string} string "{"code":0,"data":{},"msg":"重启系统成功"}" @Router /system/reloadSystem [post]
func RemoveChunk ¶
@Tags ExaFileUploadAndDownload @Summary 删除切片 @Security ApiKeyAuth @accept multipart/form-data @Produce application/json @Param file formData file true "删除缓存切片" @Success 200 {string} string "{"success":true,"data":{},"msg":"缓存切片删除成功"}" @Router /fileUploadAndDownload/removeChunk [post]
func SetDataAuthority ¶
@Tags Authority @Summary 设置角色资源权限 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysAuthority true "设置角色资源权限" @Success 200 {string} string "{"success":true,"data":{},"msg":"设置成功"}" @Router /authority/setDataAuthority [post]
func SetSystemConfig ¶
@Tags System @Summary 设置配置文件内容 @Security ApiKeyAuth @Produce application/json @Param data body model.System true "设置配置文件内容" @Success 200 {string} string "{"success":true,"data":{},"msg":"设置成功"}" @Router /system/setSystemConfig [post]
func SetUserAuthority ¶
@Tags SysUser @Summary 设置用户权限 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.SetUserAuth true "用户UUID, 角色ID" @Success 200 {string} string "{"success":true,"data":{},"msg":"修改成功"}" @Router /user/setUserAuthority [post]
func SetUserInfo ¶
@Tags SysUser @Summary 设置用户信息 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysUser true "ID, 用户名, 昵称, 头像链接" @Success 200 {string} string "{"success":true,"data":{},"msg":"设置成功"}" @Router /user/setUserInfo [put]
func SimpleUploaderUpload ¶
@Tags SimpleUploader @Summary 断点续传插件版示例 @Security ApiKeyAuth @accept multipart/form-data @Produce application/json @Param file formData file true "断点续传插件版示例" @Success 200 {string} string "{"success":true,"data":{},"msg":"切片创建成功"}" @Router /simpleUploader/upload [post]
func UpdateApi ¶
@Tags SysApi @Summary 创建基础api @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysApi true "api路径, api中文描述, api组, 方法" @Success 200 {string} string "{"success":true,"data":{},"msg":"修改成功"}" @Router /api/updateApi [post]
func UpdateAuthority ¶
@Tags Authority @Summary 更新角色信息 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysAuthority true "权限id, 权限名, 父角色id" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /authority/updateAuthority [post]
func UpdateBaseMenu ¶
@Tags Menu @Summary 更新菜单 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysBaseMenu true "路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /menu/updateBaseMenu [post]
func UpdateCasbin ¶
@Tags Casbin @Summary 更新角色api权限 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.CasbinInReceive true "权限id, 权限模型列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /casbin/UpdateCasbin [post]
func UpdateExaCustomer ¶
@Tags ExaCustomer @Summary 更新客户信息 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.ExaCustomer true "客户ID, 客户信息" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /customer/customer [put]
func UpdateProductPlugin ¶
@Tags ProductPlugin @Summary 更新ProductPlugin @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.ProductPlugin true "更新ProductPlugin" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /productPlugin/updateProductPlugin [put]
func UpdateSysDictionary ¶
@Tags SysDictionary @Summary 更新SysDictionary @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysDictionary true "SysDictionary模型" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /sysDictionary/updateSysDictionary [put]
func UpdateSysDictionaryDetail ¶
@Tags SysDictionaryDetail @Summary 更新SysDictionaryDetail @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body model.SysDictionaryDetail true "更新SysDictionaryDetail" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /sysDictionaryDetail/updateSysDictionaryDetail [put]
func UploadFile ¶
@Tags ExaFileUploadAndDownload @Summary 上传文件示例 @Security ApiKeyAuth @accept multipart/form-data @Produce application/json @Param file formData file true "上传文件示例" @Success 200 {string} string "{"success":true,"data":{},"msg":"上传成功"}" @Router /fileUploadAndDownload/upload [post]
func UploadPlugin ¶
@Tags ProductPlugin @Summary 上传游戏插件 @Security ApiKeyAuth @accept multipart/form-data @Produce application/json @Param file formData file true "上传游戏插件" @Success 200 {string} string "{"success":true,"data":{},"msg":"上传成功"}" @Router /productPlugin/upload [post]
func VOwnedToken ¶
func VServedPlugin ¶
Types ¶
This section is empty.
Source Files ¶
- exa_breakpoint_continue.go
- exa_customer.go
- exa_excel.go
- exa_file_upload_download.go
- exa_simple_uploader.go
- game.go
- plugin.go
- sys_api.go
- sys_authority.go
- sys_auto_code.go
- sys_captcha.go
- sys_casbin.go
- sys_dictionary.go
- sys_dictionary_detail.go
- sys_email.go
- sys_initdb.go
- sys_jwt_blacklist.go
- sys_menu.go
- sys_operation_record.go
- sys_system.go
- sys_user.go