v1

package
v0.0.0-...-1b8ef74 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBaseMenu

func AddBaseMenu(c *gin.Context)

@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

func AddMenuAuthority(c *gin.Context)

@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

func BreakpointContinue(c *gin.Context)

@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

func BreakpointContinueFinish(c *gin.Context)

@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

func Captcha(c *gin.Context)

@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

func ChangePassword(c *gin.Context)

@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

func CheckDB(c *gin.Context)

@Tags CheckDB @Summary 初始化用户数据库 @Produce application/json @Success 200 {string} string "{"code":0,"data":{},"msg":"探测完成"}" @Router /init/checkdb [post]

func CheckFileMd5

func CheckFileMd5(c *gin.Context)

@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 CloseConnection(c *gin.Context)

func CopyAuthority

func CopyAuthority(c *gin.Context)

@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

func CreateApi(c *gin.Context)

@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

func CreateAuthority(c *gin.Context)

@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

func CreateExaCustomer(c *gin.Context)

@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

func CreateProductPlugin(c *gin.Context)

@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

func CreateSysDictionary(c *gin.Context)

@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

func CreateSysDictionaryDetail(c *gin.Context)

@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

func CreateSysOperationRecord(c *gin.Context)

@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

func CreateTemp(c *gin.Context)

@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

func DeleteApi(c *gin.Context)

@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

func DeleteApisByIds(c *gin.Context)

@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

func DeleteAuthority(c *gin.Context)

@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

func DeleteBaseMenu(c *gin.Context)

@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

func DeleteExaCustomer(c *gin.Context)

@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

func DeleteFile(c *gin.Context)

@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

func DeleteProductPlugin(c *gin.Context)

@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

func DeleteProductPluginByIds(c *gin.Context)

@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

func DeleteSysDictionary(c *gin.Context)

@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

func DeleteSysDictionaryDetail(c *gin.Context)

@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

func DeleteSysOperationRecord(c *gin.Context)

@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

func DeleteSysOperationRecordByIds(c *gin.Context)

@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

func DeleteUser(c *gin.Context)

@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 Destroy

func Destroy(c *gin.Context)

func DownloadTemplate

func DownloadTemplate(c *gin.Context)

@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

func EmailTest(c *gin.Context)

@Tags System @Summary 发送测试邮件 @Security ApiKeyAuth @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"发送成功"}" @Router /email/emailTest [post]

func ExportExcel

func ExportExcel(c *gin.Context)

@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

func FindFile(c *gin.Context)

@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

func FindProductPlugin(c *gin.Context)

@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

func FindSysDictionary(c *gin.Context)

@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

func FindSysDictionaryDetail(c *gin.Context)

@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

func FindSysOperationRecord(c *gin.Context)

@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 GameRequest(c *gin.Context)

func GetAllApis

func GetAllApis(c *gin.Context)

@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

func GetApiById(c *gin.Context)

@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

func GetApiList(c *gin.Context)

@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

func GetAuthorityList(c *gin.Context)

@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

func GetBaseMenuById(c *gin.Context)

@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

func GetBaseMenuTree(c *gin.Context)

@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

func GetColumn(c *gin.Context)

@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

func GetDB(c *gin.Context)

@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

func GetExaCustomer(c *gin.Context)

@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

func GetExaCustomerList(c *gin.Context)

@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

func GetFileList(c *gin.Context)

@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

func GetMenu(c *gin.Context)

@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

func GetMenuAuthority(c *gin.Context)

@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

func GetMenuList(c *gin.Context)

@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

func GetPolicyPathByAuthorityId(c *gin.Context)

@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

func GetProductPluginList(c *gin.Context)

@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

func GetServerInfo(c *gin.Context)

@Tags System @Summary 获取服务器信息 @Security ApiKeyAuth @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /system/getServerInfo [post]

func GetSysDictionaryDetailList

func GetSysDictionaryDetailList(c *gin.Context)

@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

func GetSysDictionaryList(c *gin.Context)

@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

func GetSysOperationRecordList(c *gin.Context)

@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

func GetSystemConfig(c *gin.Context)

@Tags System @Summary 获取配置文件内容 @Security ApiKeyAuth @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /system/getSystemConfig [post]

func GetTables

func GetTables(c *gin.Context)

@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

func GetUserList(c *gin.Context)

@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

func ImportExcel(c *gin.Context)

@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

func InitDB(c *gin.Context)

@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

func JsonInBlacklist(c *gin.Context)

@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

func LoadExcel(c *gin.Context)

@Tags excel @Summary 加载Excel数据 @Security ApiKeyAuth @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"加载数据成功"}" @Router /excel/loadExcel [get]

func Login

func Login(c *gin.Context)

@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

func MergeFileMd5(c *gin.Context)

@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 OpenConnection(c *gin.Context)

func PreviewTemp

func PreviewTemp(c *gin.Context)

@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

func Register(c *gin.Context)

@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

func ReloadSystem(c *gin.Context)

@Tags System @Summary 重启系统 @Security ApiKeyAuth @Produce application/json @Success 200 {string} string "{"code":0,"data":{},"msg":"重启系统成功"}" @Router /system/reloadSystem [post]

func RemoveChunk

func RemoveChunk(c *gin.Context)

@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

func SetDataAuthority(c *gin.Context)

@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

func SetSystemConfig(c *gin.Context)

@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

func SetUserAuthority(c *gin.Context)

@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

func SetUserInfo(c *gin.Context)

@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

func SimpleUploaderUpload(c *gin.Context)

@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

func UpdateApi(c *gin.Context)

@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

func UpdateAuthority(c *gin.Context)

@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

func UpdateBaseMenu(c *gin.Context)

@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

func UpdateCasbin(c *gin.Context)

@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

func UpdateExaCustomer(c *gin.Context)

@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

func UpdateProductPlugin(c *gin.Context)

@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

func UpdateSysDictionary(c *gin.Context)

@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

func UpdateSysDictionaryDetail(c *gin.Context)

@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

func UploadFile(c *gin.Context)

@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

func UploadPlugin(c *gin.Context)

@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 VOwnedToken(c *gin.Context)

func VServedPlugin

func VServedPlugin(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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