feat(api): add log settings management with auto-clear and clear days configuration

This commit is contained in:
Chang lue Tsen
2025-09-01 06:11:35 -04:00
parent 4184a32c0f
commit b6cae7bbb5
14 changed files with 210 additions and 6 deletions
+5
View File
@@ -1143,6 +1143,11 @@ type LogResponse struct {
List interface{} `json:"list"`
}
type LogSetting struct {
AutoClear *bool `json:"auto_clear"`
ClearDays int64 `json:"clear_days"`
}
type LoginLog struct {
UserId int64 `json:"user_id"`
Method string `json:"method"`