mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-12 04:03:44 +08:00
更新2.1.2版本,优化部门、角色权限,增加上下级关系;增加登录、系统、短信日志;优化省市区编码
This commit is contained in:
@@ -32,12 +32,12 @@ type LoginReq struct {
|
||||
g.Meta `path:"/site/login" method:"post" tags:"后台基础" summary:"账号登录"`
|
||||
Username string `json:"username" v:"required#用户名不能为空" dc:"用户名"`
|
||||
Password string `json:"password" v:"required#密码不能为空" dc:"密码"`
|
||||
//Cid string `json:"cid" v:"required#验证码ID不能为空" dc:"验证码ID"`
|
||||
//Code string `json:"code" v:"required#验证码不能为空" dc:"验证码"`
|
||||
//Device string `json:"device" dc:"登录设备"`
|
||||
Cid string `json:"cid" dc:"验证码ID"`
|
||||
Code string `json:"code" dc:"验证码"`
|
||||
IsLock bool `json:"isLock" dc:"是否为锁屏状态"`
|
||||
}
|
||||
type LoginRes struct {
|
||||
adminin.MemberLoginModel
|
||||
*adminin.MemberLoginModel
|
||||
}
|
||||
|
||||
// SiteConfigReq 获取配置
|
||||
|
||||
Reference in New Issue
Block a user