diff --git a/internal/v2/model/company/company.go b/internal/v2/model/company/company.go index 2d9b400..44a6da7 100644 --- a/internal/v2/model/company/company.go +++ b/internal/v2/model/company/company.go @@ -124,7 +124,7 @@ type Apply struct { ID int `json:"id" gorm:"primaryKey;autoIncrement"` UserID int `json:"-" ` Amount decimal.Decimal `json:"amount"` - State int `json:"state" gorm:"<-:update"` + State int `json:"state"` CreatedAt *time.Time `json:"created_at" gorm:"autoCreateTime"` Content string `json:"content" gorm:"<-:update"` Proof string `json:"proof" gorm:"<-:update"`