Browse Source

修改casbin版本 防止用户报错

pixel 3 years ago
parent
commit
02ec7be271
3 changed files with 150 additions and 151 deletions
  1. 2 2
      server/go.mod
  2. 148 148
      server/source/casbin.go
  3. 0 1
      web/src/view/login/login.vue

+ 2 - 2
server/go.mod

@@ -8,8 +8,8 @@ require (
 	github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
 	github.com/aliyun/aliyun-oss-go-sdk v2.1.6+incompatible
 	github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f // indirect
-	github.com/casbin/casbin/v2 v2.25.6
-	github.com/casbin/gorm-adapter/v3 v3.2.6
+	github.com/casbin/casbin/v2 v2.11.0
+	github.com/casbin/gorm-adapter/v3 v3.0.2
 	github.com/dgrijalva/jwt-go v3.2.0+incompatible
 	github.com/fastly/go-utils v0.0.0-20180712184237-d95a45783239 // indirect
 	github.com/fsnotify/fsnotify v1.4.9

+ 148 - 148
server/source/casbin.go

@@ -13,154 +13,154 @@ var Casbin = new(casbin)
 type casbin struct{}
 
 var carbines = []gormadapter.CasbinRule{
-	{Ptype: "p", V0: "888", V1: "/base/login", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/user/register", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/api/createApi", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/api/getApiList", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/api/getApiById", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/api/deleteApi", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/api/updateApi", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/api/getAllApis", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/authority/createAuthority", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/authority/deleteAuthority", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/authority/getAuthorityList", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/authority/setDataAuthority", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/authority/updateAuthority", V2: "PUT"},
-	{Ptype: "p", V0: "888", V1: "/authority/copyAuthority", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/menu/getMenu", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/menu/getMenuList", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/menu/addBaseMenu", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/menu/getBaseMenuTree", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/menu/addMenuAuthority", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/menu/getMenuAuthority", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/menu/deleteBaseMenu", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/menu/updateBaseMenu", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/menu/getBaseMenuById", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/user/changePassword", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/user/getUserList", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/user/setUserAuthority", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/user/deleteUser", V2: "DELETE"},
-	{Ptype: "p", V0: "888", V1: "/fileUploadAndDownload/upload", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/fileUploadAndDownload/getFileList", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/fileUploadAndDownload/deleteFile", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/casbin/updateCasbin", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/casbin/getPolicyPathByAuthorityId", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/casbin/casbinTest/:pathParam", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/jwt/jsonInBlacklist", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/system/getSystemConfig", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/system/setSystemConfig", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/system/getServerInfo", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/customer/customer", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/customer/customer", V2: "PUT"},
-	{Ptype: "p", V0: "888", V1: "/customer/customer", V2: "DELETE"},
-	{Ptype: "p", V0: "888", V1: "/customer/customer", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/customer/customerList", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/autoCode/createTemp", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/autoCode/preview", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/autoCode/getTables", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/autoCode/getDB", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/autoCode/getColumn", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/sysDictionaryDetail/createSysDictionaryDetail", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/sysDictionaryDetail/deleteSysDictionaryDetail", V2: "DELETE"},
-	{Ptype: "p", V0: "888", V1: "/sysDictionaryDetail/updateSysDictionaryDetail", V2: "PUT"},
-	{Ptype: "p", V0: "888", V1: "/sysDictionaryDetail/findSysDictionaryDetail", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/sysDictionaryDetail/getSysDictionaryDetailList", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/sysDictionary/createSysDictionary", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/sysDictionary/deleteSysDictionary", V2: "DELETE"},
-	{Ptype: "p", V0: "888", V1: "/sysDictionary/updateSysDictionary", V2: "PUT"},
-	{Ptype: "p", V0: "888", V1: "/sysDictionary/findSysDictionary", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/sysDictionary/getSysDictionaryList", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/sysOperationRecord/createSysOperationRecord", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/sysOperationRecord/deleteSysOperationRecord", V2: "DELETE"},
-	{Ptype: "p", V0: "888", V1: "/sysOperationRecord/updateSysOperationRecord", V2: "PUT"},
-	{Ptype: "p", V0: "888", V1: "/sysOperationRecord/findSysOperationRecord", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/sysOperationRecord/getSysOperationRecordList", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/sysOperationRecord/deleteSysOperationRecordByIds", V2: "DELETE"},
-	{Ptype: "p", V0: "888", V1: "/user/setUserInfo", V2: "PUT"},
-	{Ptype: "p", V0: "888", V1: "/email/emailTest", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/simpleUploader/upload", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/simpleUploader/checkFileMd5", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/simpleUploader/mergeFileMd5", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/excel/importExcel", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/excel/loadExcel", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/excel/exportExcel", V2: "POST"},
-	{Ptype: "p", V0: "888", V1: "/excel/downloadTemplate", V2: "GET"},
-	{Ptype: "p", V0: "888", V1: "/api/deleteApisByIds", V2: "DELETE"},
-	{Ptype: "p", V0: "8881", V1: "/base/login", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/user/register", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/api/createApi", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/api/getApiList", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/api/getApiById", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/api/deleteApi", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/api/updateApi", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/api/getAllApis", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/authority/createAuthority", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/authority/deleteAuthority", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/authority/getAuthorityList", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/authority/setDataAuthority", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/menu/getMenu", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/menu/getMenuList", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/menu/addBaseMenu", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/menu/getBaseMenuTree", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/menu/addMenuAuthority", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/menu/getMenuAuthority", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/menu/deleteBaseMenu", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/menu/updateBaseMenu", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/menu/getBaseMenuById", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/user/changePassword", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/user/getUserList", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/user/setUserAuthority", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/fileUploadAndDownload/upload", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/fileUploadAndDownload/getFileList", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/fileUploadAndDownload/deleteFile", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/casbin/updateCasbin", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/casbin/getPolicyPathByAuthorityId", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/jwt/jsonInBlacklist", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/system/getSystemConfig", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/system/setSystemConfig", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/customer/customer", V2: "POST"},
-	{Ptype: "p", V0: "8881", V1: "/customer/customer", V2: "PUT"},
-	{Ptype: "p", V0: "8881", V1: "/customer/customer", V2: "DELETE"},
-	{Ptype: "p", V0: "8881", V1: "/customer/customer", V2: "GET"},
-	{Ptype: "p", V0: "8881", V1: "/customer/customerList", V2: "GET"},
-	{Ptype: "p", V0: "9528", V1: "/base/login", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/user/register", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/api/createApi", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/api/getApiList", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/api/getApiById", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/api/deleteApi", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/api/updateApi", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/api/getAllApis", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/authority/createAuthority", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/authority/deleteAuthority", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/authority/getAuthorityList", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/authority/setDataAuthority", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/menu/getMenu", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/menu/getMenuList", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/menu/addBaseMenu", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/menu/getBaseMenuTree", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/menu/addMenuAuthority", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/menu/getMenuAuthority", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/menu/deleteBaseMenu", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/menu/updateBaseMenu", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/menu/getBaseMenuById", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/user/changePassword", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/user/getUserList", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/user/setUserAuthority", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/fileUploadAndDownload/upload", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/fileUploadAndDownload/getFileList", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/fileUploadAndDownload/deleteFile", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/casbin/updateCasbin", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/casbin/getPolicyPathByAuthorityId", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/jwt/jsonInBlacklist", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/system/getSystemConfig", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/system/setSystemConfig", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/customer/customer", V2: "POST"},
-	{Ptype: "p", V0: "9528", V1: "/customer/customer", V2: "PUT"},
-	{Ptype: "p", V0: "9528", V1: "/customer/customer", V2: "DELETE"},
-	{Ptype: "p", V0: "9528", V1: "/customer/customer", V2: "GET"},
-	{Ptype: "p", V0: "9528", V1: "/customer/customerList", V2: "GET"},
-	{Ptype: "p", V0: "9528", V1: "/autoCode/createTemp", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/base/login", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/user/register", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/api/createApi", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/api/getApiList", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/api/getApiById", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/api/deleteApi", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/api/updateApi", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/api/getAllApis", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/authority/createAuthority", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/authority/deleteAuthority", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/authority/getAuthorityList", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/authority/setDataAuthority", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/authority/updateAuthority", V2: "PUT"},
+	{PType: "p", V0: "888", V1: "/authority/copyAuthority", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/menu/getMenu", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/menu/getMenuList", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/menu/addBaseMenu", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/menu/getBaseMenuTree", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/menu/addMenuAuthority", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/menu/getMenuAuthority", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/menu/deleteBaseMenu", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/menu/updateBaseMenu", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/menu/getBaseMenuById", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/user/changePassword", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/user/getUserList", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/user/setUserAuthority", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/user/deleteUser", V2: "DELETE"},
+	{PType: "p", V0: "888", V1: "/fileUploadAndDownload/upload", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/fileUploadAndDownload/getFileList", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/fileUploadAndDownload/deleteFile", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/casbin/updateCasbin", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/casbin/getPolicyPathByAuthorityId", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/casbin/casbinTest/:pathParam", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/jwt/jsonInBlacklist", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/system/getSystemConfig", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/system/setSystemConfig", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/system/getServerInfo", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/customer/customer", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/customer/customer", V2: "PUT"},
+	{PType: "p", V0: "888", V1: "/customer/customer", V2: "DELETE"},
+	{PType: "p", V0: "888", V1: "/customer/customer", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/customer/customerList", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/autoCode/createTemp", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/autoCode/preview", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/autoCode/getTables", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/autoCode/getDB", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/autoCode/getColumn", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/sysDictionaryDetail/createSysDictionaryDetail", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/sysDictionaryDetail/deleteSysDictionaryDetail", V2: "DELETE"},
+	{PType: "p", V0: "888", V1: "/sysDictionaryDetail/updateSysDictionaryDetail", V2: "PUT"},
+	{PType: "p", V0: "888", V1: "/sysDictionaryDetail/findSysDictionaryDetail", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/sysDictionaryDetail/getSysDictionaryDetailList", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/sysDictionary/createSysDictionary", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/sysDictionary/deleteSysDictionary", V2: "DELETE"},
+	{PType: "p", V0: "888", V1: "/sysDictionary/updateSysDictionary", V2: "PUT"},
+	{PType: "p", V0: "888", V1: "/sysDictionary/findSysDictionary", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/sysDictionary/getSysDictionaryList", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/sysOperationRecord/createSysOperationRecord", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/sysOperationRecord/deleteSysOperationRecord", V2: "DELETE"},
+	{PType: "p", V0: "888", V1: "/sysOperationRecord/updateSysOperationRecord", V2: "PUT"},
+	{PType: "p", V0: "888", V1: "/sysOperationRecord/findSysOperationRecord", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/sysOperationRecord/getSysOperationRecordList", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/sysOperationRecord/deleteSysOperationRecordByIds", V2: "DELETE"},
+	{PType: "p", V0: "888", V1: "/user/setUserInfo", V2: "PUT"},
+	{PType: "p", V0: "888", V1: "/email/emailTest", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/simpleUploader/upload", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/simpleUploader/checkFileMd5", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/simpleUploader/mergeFileMd5", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/excel/importExcel", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/excel/loadExcel", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/excel/exportExcel", V2: "POST"},
+	{PType: "p", V0: "888", V1: "/excel/downloadTemplate", V2: "GET"},
+	{PType: "p", V0: "888", V1: "/api/deleteApisByIds", V2: "DELETE"},
+	{PType: "p", V0: "8881", V1: "/base/login", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/user/register", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/api/createApi", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/api/getApiList", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/api/getApiById", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/api/deleteApi", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/api/updateApi", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/api/getAllApis", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/authority/createAuthority", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/authority/deleteAuthority", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/authority/getAuthorityList", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/authority/setDataAuthority", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/menu/getMenu", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/menu/getMenuList", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/menu/addBaseMenu", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/menu/getBaseMenuTree", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/menu/addMenuAuthority", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/menu/getMenuAuthority", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/menu/deleteBaseMenu", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/menu/updateBaseMenu", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/menu/getBaseMenuById", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/user/changePassword", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/user/getUserList", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/user/setUserAuthority", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/fileUploadAndDownload/upload", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/fileUploadAndDownload/getFileList", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/fileUploadAndDownload/deleteFile", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/casbin/updateCasbin", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/casbin/getPolicyPathByAuthorityId", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/jwt/jsonInBlacklist", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/system/getSystemConfig", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/system/setSystemConfig", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/customer/customer", V2: "POST"},
+	{PType: "p", V0: "8881", V1: "/customer/customer", V2: "PUT"},
+	{PType: "p", V0: "8881", V1: "/customer/customer", V2: "DELETE"},
+	{PType: "p", V0: "8881", V1: "/customer/customer", V2: "GET"},
+	{PType: "p", V0: "8881", V1: "/customer/customerList", V2: "GET"},
+	{PType: "p", V0: "9528", V1: "/base/login", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/user/register", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/api/createApi", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/api/getApiList", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/api/getApiById", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/api/deleteApi", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/api/updateApi", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/api/getAllApis", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/authority/createAuthority", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/authority/deleteAuthority", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/authority/getAuthorityList", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/authority/setDataAuthority", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/menu/getMenu", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/menu/getMenuList", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/menu/addBaseMenu", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/menu/getBaseMenuTree", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/menu/addMenuAuthority", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/menu/getMenuAuthority", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/menu/deleteBaseMenu", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/menu/updateBaseMenu", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/menu/getBaseMenuById", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/user/changePassword", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/user/getUserList", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/user/setUserAuthority", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/fileUploadAndDownload/upload", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/fileUploadAndDownload/getFileList", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/fileUploadAndDownload/deleteFile", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/casbin/updateCasbin", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/casbin/getPolicyPathByAuthorityId", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/jwt/jsonInBlacklist", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/system/getSystemConfig", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/system/setSystemConfig", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/customer/customer", V2: "POST"},
+	{PType: "p", V0: "9528", V1: "/customer/customer", V2: "PUT"},
+	{PType: "p", V0: "9528", V1: "/customer/customer", V2: "DELETE"},
+	{PType: "p", V0: "9528", V1: "/customer/customer", V2: "GET"},
+	{PType: "p", V0: "9528", V1: "/customer/customerList", V2: "GET"},
+	{PType: "p", V0: "9528", V1: "/autoCode/createTemp", V2: "POST"},
 }
 
 //@author: [SliverHorn](https://github.com/SliverHorn)

+ 0 - 1
web/src/view/login/login.vue

@@ -7,7 +7,6 @@
         </div>
         <div class="header">
           <a href="/">
-            <!-- <img src="~@/assets/logo.png" class="logo" alt="logo" /> -->
             <span class="title">Gin-Vue-Admin</span>
           </a>
         </div>