mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2026-11-05 08:37:08 +00:00
Basic check for User controller
This commit is contained in:
1 parent
74b5bf24a8
commit
6539ae20fa
8 files changed
+133
-2
No files matched your search
@@ -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