videoplayer/proto/user_req.go

20 lines
953 B
Go
Raw Normal View History

2024-10-06 16:35:54 +08:00
package proto
type UpdateUserInfoReq struct {
ID int `json:"id" form:"id"` //用户id
Username string `json:"username" form:"username"` //用户名
Age int `json:"age" form:"age"` //年龄
Role string `json:"role" form:"role"` //角色
Gender string `json:"gender" form:"gender"` //性别
2024-12-04 14:48:25 +08:00
Redis bool `json:"redis" form:"redis"` //是否刷新redis
Upload bool `json:"upload" form:"upload"` //是否上传头像
Run bool `json:"run" form:"run"` //是否运行
2024-10-06 16:35:54 +08:00
Avatar string `json:"avatar" form:"avatar"` //头像
}
type CIDRUN struct {
CID uint `json:"cid" form:"cid"` //持续集成ID,查找持续集成任务
Curr int `json:"curr" form:"curr"` //当前剩余时间每次执行减10s小于等于0则执行
Every int `json:"every" form:"every"` //每隔多少秒执行一次,小于等于0表示不执行时间粒度为10s
}