增加用户身份认证相关接口

This commit is contained in:
GoEdgeLab
2022-07-17 11:00:14 +08:00
parent 0e12740fd0
commit a2f8cf09a9
12 changed files with 529 additions and 9 deletions

View File

@@ -1,9 +1,10 @@
package models
// 文件管理
// File 文件管理
type File struct {
Id uint32 `field:"id"` // ID
AdminId uint32 `field:"adminId"` // 管理员ID
Code string `field:"code"` // 代号
UserId uint32 `field:"userId"` // 用户ID
Description string `field:"description"` // 文件描述
Filename string `field:"filename"` // 文件名
@@ -19,6 +20,7 @@ type File struct {
type FileOperator struct {
Id interface{} // ID
AdminId interface{} // 管理员ID
Code interface{} // 代号
UserId interface{} // 用户ID
Description interface{} // 文件描述
Filename interface{} // 文件名