style: linker
This commit is contained in:
@@ -16,7 +16,8 @@ func (a *api) TableName() string {
|
||||
}
|
||||
|
||||
func (a *api) Initialize() error {
|
||||
entities := []system.SysApi{{ApiGroup: "base", Method: "POST", Path: "/base/login", Description: "用户登录(必选)"},
|
||||
entities := []system.SysApi{
|
||||
{ApiGroup: "base", Method: "POST", Path: "/base/login", Description: "用户登录(必选)"},
|
||||
|
||||
{ApiGroup: "jwt", Method: "POST", Path: "/jwt/jsonInBlacklist", Description: "jwt加入黑名单(退出,必选)"},
|
||||
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
package system
|
||||
|
||||
import (
|
||||
"reflect"
|
||||
|
||||
"github.com/flipped-aurora/gin-vue-admin/server/global"
|
||||
"github.com/flipped-aurora/gin-vue-admin/server/model/system"
|
||||
"github.com/pkg/errors"
|
||||
"gorm.io/gorm"
|
||||
"gorm.io/gorm/schema"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
var AuthoritiesMenus = new(authoritiesMenus)
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
package system
|
||||
|
||||
import (
|
||||
"reflect"
|
||||
|
||||
"github.com/flipped-aurora/gin-vue-admin/server/global"
|
||||
"github.com/flipped-aurora/gin-vue-admin/server/model/system"
|
||||
"github.com/pkg/errors"
|
||||
"gorm.io/gorm"
|
||||
"gorm.io/gorm/schema"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
var DataAuthorities = new(dataAuthorities)
|
||||
|
||||
@@ -2,10 +2,11 @@ package system
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/flipped-aurora/gin-vue-admin/server/global"
|
||||
"github.com/flipped-aurora/gin-vue-admin/server/model/system"
|
||||
"github.com/pkg/errors"
|
||||
"strings"
|
||||
)
|
||||
|
||||
var ViewAuthorityMenuMysql = new(viewAuthorityMenuMysql)
|
||||
|
||||
@@ -2,10 +2,11 @@ package system
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/flipped-aurora/gin-vue-admin/server/global"
|
||||
"github.com/flipped-aurora/gin-vue-admin/server/model/system"
|
||||
"github.com/pkg/errors"
|
||||
"strings"
|
||||
)
|
||||
|
||||
var ViewAuthorityMenuPostgres = new(viewAuthorityMenuPostgres)
|
||||
|
||||
Reference in New Issue
Block a user