fix:支付

This commit is contained in:
momo 2023-09-27 10:12:52 +08:00
parent 032d089359
commit 6c53238457

View File

@ -4,7 +4,7 @@ import "context"
type RelaFsProduct struct { type RelaFsProduct struct {
FsProduct FsProduct
CoverResource *FsResource `json:"cover_resource" gorm:"foreignkey:cover;references:resource_id"` CoverResource *FsResource `json:"cover_resource" gorm:"foreignkey:cover;references:resource_url"`
} }
func (m *FsProductModel) TableName() string { func (m *FsProductModel) TableName() string {