fix: improvement log record ads tih ip, useragent, and uer_id

This commit is contained in:
ericprd
2025-03-19 22:43:31 +08:00
parent b0099dac1e
commit 290d7f6701
9 changed files with 83 additions and 28 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ package logrepository
import (
"legalgo-BE-go/database"
adsdomain "legalgo-BE-go/internal/domain/ads"
logsdomain "legalgo-BE-go/internal/domain/logs"
)
type accessor struct {
@@ -10,7 +11,7 @@ type accessor struct {
}
type Log interface {
CreateLogAds(string) error
CreateLogAds(logsdomain.LogsSpec) error
GetAllLogAds(string) ([]adsdomain.Ads, error)
}