feat: 添加鉴权组件
This commit is contained in:
6
auth/model.go
Normal file
6
auth/model.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package auth
|
||||
|
||||
type Auth struct {
|
||||
Qqid string `json:"qqid" db:"qqid"`
|
||||
Role int `json:"role" db:"role"`
|
||||
}
|
||||
Reference in New Issue
Block a user