feat(app): 添加C端用户管理相关接口和消息定义
- 新增C端用户分页查询、详情获取、强制登出、修改密码、修改信息、修改头像及修改状态接口 - 定义UpdateUserAvatarReq和UpdateUserPcPasswordReq消息结构 - 更新App服务接口,增加对应的gRPC方法声明和实现 - 扩展用户相关的proto消息类型索引和依赖关系 - 在app.go中暴露新添加的用户管理方法
This commit is contained in:
parent
884df461f1
commit
a9f61e0fb2
|
|
@ -25,6 +25,7 @@ func (UserLoginLog) Fields() []ent.Field {
|
|||
NotEmpty().
|
||||
MaxLen(45),
|
||||
field.String("login_location").
|
||||
Comment("登录位置").
|
||||
Optional().
|
||||
MaxLen(200),
|
||||
field.Enum("login_type").
|
||||
|
|
|
|||
Loading…
Reference in New Issue