From c967d483849361305ccf2934f8ad5f24d4692948 Mon Sep 17 00:00:00 2001 From: howell <2827207845@qq.com> Date: Thu, 24 Mar 2022 13:27:10 +0800 Subject: [PATCH] fix:bug --- internal/v2/model/company/company.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"`