用户赞助模块补丁

This commit is contained in:
筱锋xiao_lfeng 2024-01-06 20:52:37 +08:00
parent 18b5d94a4d
commit 930876a93f
No known key found for this signature in database
GPG Key ID: F693AA12AABBFA87
2 changed files with 17 additions and 15 deletions

View File

@ -61,6 +61,7 @@ func (*SponsorServiceImpl) AddSponsor(req *ghttp.Request, entity entity.SponsorA
Url: entity.Url, Url: entity.Url,
Type: entity.Type, Type: entity.Type,
Money: entity.Money, Money: entity.Money,
StatementOfAccount: entity.StatementOfAccount,
CreatedAt: time.Time{}, CreatedAt: time.Time{},
Check: check, Check: check,
} }

View File

@ -9,6 +9,7 @@ type SponsorDO struct {
Url *string `json:"url"` Url *string `json:"url"`
Type uint8 `json:"type"` Type uint8 `json:"type"`
Money uint64 `json:"money"` Money uint64 `json:"money"`
StatementOfAccount *string `json:"statement_of_account"`
CreatedAt time.Time `json:"created_at"` CreatedAt time.Time `json:"created_at"`
Check bool `json:"check"` Check bool `json:"check"`
} }