2022-11-24 23:37:34 +08:00
|
|
|
// Package sysin
|
|
|
|
// @Link https://github.com/bufanyun/hotgo
|
2023-02-23 17:53:04 +08:00
|
|
|
// @Copyright Copyright (c) 2023 HotGo CLI
|
2022-11-24 23:37:34 +08:00
|
|
|
// @Author Ms <133814250@qq.com>
|
|
|
|
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
|
|
|
|
//
|
|
|
|
package sysin
|
|
|
|
|
|
|
|
import (
|
|
|
|
"hotgo/internal/model/entity"
|
|
|
|
"hotgo/internal/model/input/form"
|
|
|
|
)
|
|
|
|
|
|
|
|
// LogListInp 获取菜单列表
|
|
|
|
type LogListInp struct {
|
|
|
|
form.PageReq
|
|
|
|
form.RangeDateReq
|
|
|
|
form.StatusReq
|
|
|
|
Module string
|
|
|
|
MemberId int
|
|
|
|
TakeUpTime int
|
|
|
|
Method string
|
|
|
|
Url string
|
|
|
|
Ip string
|
|
|
|
ErrorCode string
|
|
|
|
StartTime string
|
|
|
|
EndTime string
|
|
|
|
CreatedAt []int64
|
|
|
|
}
|
|
|
|
|
|
|
|
type LogListModel struct {
|
|
|
|
entity.SysLog
|
2023-02-08 20:29:34 +08:00
|
|
|
MemberName string `json:"memberName"`
|
2022-11-24 23:37:34 +08:00
|
|
|
Region string `json:"region"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// LogViewInp 获取信息
|
|
|
|
type LogViewInp struct {
|
|
|
|
Id string
|
|
|
|
}
|
|
|
|
|
|
|
|
type LogViewModel struct {
|
|
|
|
entity.SysLog
|
2023-02-08 20:29:34 +08:00
|
|
|
CityLabel string `json:"cityLabel" description:"城市标签"`
|
2022-11-24 23:37:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// LogDeleteInp 删除
|
|
|
|
type LogDeleteInp struct {
|
|
|
|
Id interface{}
|
|
|
|
}
|
|
|
|
type LogDeleteModel struct{}
|