mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Basic check for User controller
This commit is contained in:
7
service/user/user_login.go
Normal file
7
service/user/user_login.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package service
|
||||
|
||||
// UserLoginService 管理用户登录的服务
|
||||
type UserLoginService struct {
|
||||
UserName string `form:"user_name" json:"user_name" binding:"required,min=5,max=30"`
|
||||
Password string `form:"password" json:"password" binding:"required,min=8,max=40"`
|
||||
}
|
||||
Reference in New Issue
Block a user