fix: remove auth in ads log

This commit is contained in:
ericprd
2025-03-19 12:47:41 +08:00
parent d7fa8496b0
commit b0099dac1e
6 changed files with 24 additions and 26 deletions
+3 -3
View File
@@ -3,9 +3,9 @@ package database
import "time"
type LogAds struct {
ID string `gorm:"primaryKey;not null" json:"id"`
AdsID string `gorm:"not null" json:"ads_id"`
UserID string `gorm:"not null" json:"user_id"`
ID string `gorm:"primaryKey;not null" json:"id"`
AdsID string `gorm:"not null" json:"ads_id"`
// UserID string `gorm:"default:null" json:"user_id"`
CreatedAt time.Time `gorm:"default:CURRENT_TIMESTAMP" json:"created_at"`
UpdatedAt time.Time `gorm:"default:CURRENT_TIMESTAMP" json:"updated_at"`
}