mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-30 06:51:25 +08:00
【升级go 1.18】
This commit is contained in:
@@ -27,9 +27,8 @@ func (l *LogLoginApi) GetLoginLogList(rc *ctx.ReqCtx) {
|
||||
pageSize := ginx.QueryInt(rc.GinCtx, "pageSize", 10)
|
||||
loginLocation := rc.GinCtx.Query("loginLocation")
|
||||
username := rc.GinCtx.Query("username")
|
||||
|
||||
list, total := l.LogLoginApp.FindListPage(pageNum, pageSize, entity.LogLogin{LoginLocation: loginLocation, Username: username})
|
||||
rc.ResData = map[string]interface{}{
|
||||
rc.ResData = map[string]any{
|
||||
"data": list,
|
||||
"total": total,
|
||||
"pageNum": pageNum,
|
||||
|
||||
Reference in New Issue
Block a user