增加用户上下文自动刷新,修复上传组件传参问题

This commit is contained in:
孟帅
2023-08-09 10:53:15 +08:00
parent 5538d9b720
commit 4069411156
10 changed files with 608 additions and 534 deletions

View File

@@ -26,7 +26,7 @@ type UserOnlineListReq struct {
form.PageReq
UserId int64 `json:"userId" description:"用户ID"`
Username string `json:"username" description:"用户名"`
Addr string `json:"addr" description:"登录地址"`
IP string `json:"ip" description:"登录IP"`
FirstTime []*gtime.Time `json:"firstTime" description:"登录时间"`
}
@@ -37,7 +37,7 @@ type UserOnlineListRes struct {
type UserOnlineModel struct {
ID string `json:"id"` // 连接唯一标识
Addr string `json:"addr"` // 客户端地址
IP string `json:"ip"` // 客户端IP
Os string `json:"os"` // 客户端系统名称
Browser string `json:"browser"` // 浏览器
FirstTime int64 `json:"firstTime"` // 首次连接时间