mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-04 07:36:57 +08:00
Standardization
This commit is contained in:
@@ -17,3 +17,12 @@ type User struct {
|
||||
func (*User) TableName() string {
|
||||
return "users"
|
||||
}
|
||||
|
||||
type LoginHandlerReq struct {
|
||||
Account string `form:"account"`
|
||||
Password string `form:"password"`
|
||||
}
|
||||
|
||||
type DeleteUserReq struct {
|
||||
Account string `form:"account"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user