mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
增加webssh及数据库查询
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/orm"
|
||||
"mayfly-go/base"
|
||||
"mayfly-go/base/model"
|
||||
|
||||
"github.com/beego/beego/v2/client/orm"
|
||||
)
|
||||
|
||||
type Role struct {
|
||||
base.Model
|
||||
model.Model
|
||||
|
||||
Name string `orm:"column(name)" json:"username"`
|
||||
//AccountId int64 `orm:"column(account_id)`
|
||||
|
||||
Reference in New Issue
Block a user