mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
增加webssh及数据库查询
This commit is contained in:
12
base/ctx/login_account.go
Normal file
12
base/ctx/login_account.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package ctx
|
||||
|
||||
type LoginAccount struct {
|
||||
Id uint64
|
||||
Username string
|
||||
}
|
||||
|
||||
type Permission struct {
|
||||
CheckToken bool // 是否检查token
|
||||
Code string // 权限码
|
||||
Name string // 描述
|
||||
}
|
||||
Reference in New Issue
Block a user