2022-05-18 17:57:03 +08:00
|
|
|
package request
|
|
|
|
|
|
|
|
// BaseChangePwdReq 修改密码结构体
|
|
|
|
type BaseChangePwdReq struct {
|
2022-06-02 21:51:46 +08:00
|
|
|
Mail string `json:"mail" validate:"required,min=0,max=100"`
|
2022-05-18 17:57:03 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// BaseDashboardReq 系统首页展示数据结构体
|
|
|
|
type BaseDashboardReq struct {
|
|
|
|
}
|
2022-07-05 12:16:05 +08:00
|
|
|
|
2023-02-14 11:23:08 +08:00
|
|
|
// EncryptPasswdReq
|
|
|
|
type EncryptPasswdReq struct {
|
|
|
|
Passwd string `json:"passwd" form:"passwd" validate:"required"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// DecryptPasswdReq
|
|
|
|
type DecryptPasswdReq struct {
|
2022-07-05 12:16:05 +08:00
|
|
|
Passwd string `json:"passwd" form:"passwd" validate:"required"`
|
|
|
|
}
|