fix: add new fields on subscribe plan, and change status type to number in subscribe

This commit is contained in:
ericprd
2025-03-10 11:48:20 +08:00
parent 52dfb7e0f2
commit ce341dbc13
8 changed files with 39 additions and 11 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ type Subscribe struct {
SubscribePlanID string `json:"subscribe_plan_id"`
StartDate time.Time `json:"start_date"`
EndDate *time.Time `json:"end_date"`
Status string `json:"status"`
Status int8 `json:"status"`
AutoRenew bool `json:"auto_renew"`
UpdatedAt time.Time `json:"updated_at"`