@ -14,8 +14,8 @@ var Api = new(api)
type api struct { }
var apis = [ ] system . SysApi {
{ global . GVA_MODEL { ID : 1 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/base/login" , "用户登录" , "base" , "POST" } ,
{ global . GVA_MODEL { ID : 2 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/user/register" , "用户注册" , "user" , "POST" } ,
{ global . GVA_MODEL { ID : 1 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/base/login" , "用户登录(必选) " , "base" , "POST" } ,
{ global . GVA_MODEL { ID : 2 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/user/register" , "用户注册(必选) " , "user" , "POST" } ,
{ global . GVA_MODEL { ID : 3 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/api/createApi" , "创建api" , "api" , "POST" } ,
{ global . GVA_MODEL { ID : 4 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/api/getApiList" , "获取api列表" , "api" , "POST" } ,
{ global . GVA_MODEL { ID : 5 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/api/getApiById" , "获取api详细信息" , "api" , "POST" } ,
@ -25,7 +25,7 @@ var apis = []system.SysApi{
{ global . GVA_MODEL { ID : 9 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/authority/createAuthority" , "创建角色" , "authority" , "POST" } ,
{ global . GVA_MODEL { ID : 10 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/authority/deleteAuthority" , "删除角色" , "authority" , "POST" } ,
{ global . GVA_MODEL { ID : 11 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/authority/getAuthorityList" , "获取角色列表" , "authority" , "POST" } ,
{ global . GVA_MODEL { ID : 12 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/menu/getMenu" , "获取菜单树" , "menu" , "POST" } ,
{ global . GVA_MODEL { ID : 12 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/menu/getMenu" , "获取菜单树(必选) " , "menu" , "POST" } ,
{ global . GVA_MODEL { ID : 13 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/menu/getMenuList" , "分页获取基础menu列表" , "menu" , "POST" } ,
{ global . GVA_MODEL { ID : 14 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/menu/addBaseMenu" , "新增菜单" , "menu" , "POST" } ,
{ global . GVA_MODEL { ID : 15 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/menu/getBaseMenuTree" , "获取用户动态路由" , "menu" , "POST" } ,
@ -34,15 +34,15 @@ var apis = []system.SysApi{
{ global . GVA_MODEL { ID : 18 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/menu/deleteBaseMenu" , "删除菜单" , "menu" , "POST" } ,
{ global . GVA_MODEL { ID : 19 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/menu/updateBaseMenu" , "更新菜单" , "menu" , "POST" } ,
{ global . GVA_MODEL { ID : 20 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/menu/getBaseMenuById" , "根据id获取菜单" , "menu" , "POST" } ,
{ global . GVA_MODEL { ID : 21 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/user/changePassword" , "修改密码" , "user" , "POST" } ,
{ global . GVA_MODEL { ID : 21 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/user/changePassword" , "修改密码(建议选择) " , "user" , "POST" } ,
{ global . GVA_MODEL { ID : 23 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/user/getUserList" , "获取用户列表" , "user" , "POST" } ,
{ global . GVA_MODEL { ID : 24 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/user/setUserAuthority" , "修改用户角色" , "user" , "POST" } ,
{ global . GVA_MODEL { ID : 24 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/user/setUserAuthority" , "修改用户角色(必选) " , "user" , "POST" } ,
{ global . GVA_MODEL { ID : 25 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/fileUploadAndDownload/upload" , "文件上传示例" , "fileUploadAndDownload" , "POST" } ,
{ global . GVA_MODEL { ID : 26 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/fileUploadAndDownload/getFileList" , "获取上传文件列表" , "fileUploadAndDownload" , "POST" } ,
{ global . GVA_MODEL { ID : 27 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/casbin/updateCasbin" , "更改角色api权限" , "casbin" , "POST" } ,
{ global . GVA_MODEL { ID : 28 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/casbin/getPolicyPathByAuthorityId" , "获取权限列表" , "casbin" , "POST" } ,
{ global . GVA_MODEL { ID : 29 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/fileUploadAndDownload/deleteFile" , "删除文件" , "fileUploadAndDownload" , "POST" } ,
{ global . GVA_MODEL { ID : 30 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/jwt/jsonInBlacklist" , "jwt加入黑名单(退出)" , "jwt" , "POST" } ,
{ global . GVA_MODEL { ID : 30 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/jwt/jsonInBlacklist" , "jwt加入黑名单(退出,必选 )" , "jwt" , "POST" } ,
{ global . GVA_MODEL { ID : 31 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/authority/setDataAuthority" , "设置角色资源权限" , "authority" , "POST" } ,
{ global . GVA_MODEL { ID : 32 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/system/getSystemConfig" , "获取配置文件内容" , "system" , "POST" } ,
{ global . GVA_MODEL { ID : 33 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/system/setSystemConfig" , "设置配置文件内容" , "system" , "POST" } ,
@ -77,7 +77,7 @@ var apis = []system.SysApi{
{ global . GVA_MODEL { ID : 62 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/simpleUploader/upload" , "插件版分片上传" , "simpleUploader" , "POST" } ,
{ global . GVA_MODEL { ID : 63 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/simpleUploader/checkFileMd5" , "文件完整度验证" , "simpleUploader" , "GET" } ,
{ global . GVA_MODEL { ID : 64 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/simpleUploader/mergeFileMd5" , "上传完成合并文件" , "simpleUploader" , "GET" } ,
{ global . GVA_MODEL { ID : 65 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/user/setUserInfo" , "设置用户信息" , "user" , "PUT" } ,
{ global . GVA_MODEL { ID : 65 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/user/setUserInfo" , "设置用户信息(必选) " , "user" , "PUT" } ,
{ global . GVA_MODEL { ID : 66 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/system/getServerInfo" , "获取服务器信息" , "system" , "POST" } ,
{ global . GVA_MODEL { ID : 67 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/email/emailTest" , "发送测试邮件" , "email" , "POST" } ,
{ global . GVA_MODEL { ID : 80 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/autoCode/preview" , "预览自动化代码" , "autoCode" , "POST" } ,
@ -90,6 +90,8 @@ var apis = []system.SysApi{
{ global . GVA_MODEL { ID : 87 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/autoCode/rollback" , "回滚自动生成代码" , "autoCode" , "POST" } ,
{ global . GVA_MODEL { ID : 88 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/autoCode/getMeta" , "获取meta信息" , "autoCode" , "POST" } ,
{ global . GVA_MODEL { ID : 89 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/autoCode/delSysHistory" , "删除回滚记录" , "autoCode" , "POST" } ,
{ global . GVA_MODEL { ID : 90 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/user/setUserAuthorities" , "设置权限组" , "user" , "POST" } ,
{ global . GVA_MODEL { ID : 91 , CreatedAt : time . Now ( ) , UpdatedAt : time . Now ( ) } , "/user/getUserInfo" , "获取自身信息(必选)" , "user" , "GET" } ,
}
//@author: [SliverHorn](https://github.com/SliverHorn)