diff --git a/cmd/internal/dao/artistinfo_artshow_video.go b/cmd/internal/dao/artistinfo_artshow_video.go index 2ec3b55..d2bcad1 100644 --- a/cmd/internal/dao/artistinfo_artshow_video.go +++ b/cmd/internal/dao/artistinfo_artshow_video.go @@ -13,7 +13,6 @@ import ( "github.com/fonchain/fonchain-artistinfo/pb/artistinfoArtshow" db "github.com/fonchain/fonchain-artistinfo/pkg/db" "gorm.io/gorm" - "gorm.io/gorm/clause" ) var ArtistinfoArtshowVideo = new(artistinfoArtshowVideo) diff --git a/cmd/model/artshow_video.go b/cmd/model/artshow_video.go index 9bf0cd6..bbff871 100644 --- a/cmd/model/artshow_video.go +++ b/cmd/model/artshow_video.go @@ -15,7 +15,7 @@ type ArtshowVideoRecord struct { //AccountId int64 `json:"accountId" gorm:"column:account_id;comment:"` ArtistName string `json:"artistName" gorm:"column:artist_name;comment:"` - VideoUrl string `json:"videoUrl" gorm:"column:video_url;comment:"` + VideoUrl string `json:"videoUrl" gorm:"column:video_url;type:varchar(2000);comment:"` //审批字段 AuditStatus AuditStatus `json:"auditStatus" gorm:"column:audit_status;comment:审核状态:2= 待审核,3= 审核失败,4= 审核通过,5= 待补充"`