修改签名头
Build docker and publish / build (20.15.1) (push) Successful in 7m44s

This commit is contained in:
2026-03-05 23:31:45 -08:00
parent d575df9529
commit 6e13e67dc8
9 changed files with 416 additions and 159 deletions
+33 -2
View File
@@ -20,6 +20,7 @@ type (
Telegram int64 `json:"telegram"`
ReferCode string `json:"refer_code"`
RefererId int64 `json:"referer_id"`
ShareLink string `json:"share_link,omitempty"`
Enable bool `json:"enable"`
IsAdmin bool `json:"is_admin,omitempty"`
EnableBalanceNotify bool `json:"enable_balance_notify"`
@@ -29,6 +30,8 @@ type (
AuthMethods []UserAuthMethod `json:"auth_methods"`
UserDevices []UserDevice `json:"user_devices"`
Rules []string `json:"rules"`
LastLoginTime int64 `json:"last_login_time,omitempty"`
MemberStatus string `json:"member_status,omitempty"`
CreatedAt int64 `json:"created_at"`
UpdatedAt int64 `json:"updated_at"`
DeletedAt int64 `json:"deleted_at,omitempty"`
@@ -513,6 +516,7 @@ type (
EntitlementSource string `json:"entitlement_source"`
EntitlementOwnerUserId int64 `json:"entitlement_owner_user_id"`
ReadOnly bool `json:"read_only"`
IsGift bool `json:"is_gift"`
Short string `json:"short"`
CreatedAt int64 `json:"created_at"`
UpdatedAt int64 `json:"updated_at"`
@@ -701,8 +705,10 @@ type (
PublishableKey string `json:"publishable_key"`
}
QueryOrderListRequest {
Page int `form:"page" validate:"required"`
Size int `form:"size" validate:"required"`
Page int `form:"page" validate:"required"`
Size int `form:"size" validate:"required"`
Status int `form:"status,optional"`
Search string `form:"search,optional"`
}
QueryOrderListResponse {
Total int64 `json:"total"`
@@ -791,6 +797,31 @@ type (
Type string `json:"type"`
CheckoutUrl string `json:"checkout_url,omitempty"`
Stripe *StripePayment `json:"stripe,omitempty"`
ProductIds []string `json:"product_ids,omitempty"`
}
AttachAppleTransactionRequest {
OrderNo string `json:"order_no" validate:"required"`
SignedTransactionJWS string `json:"signed_transaction_jws" validate:"required"`
SubscribeId int64 `json:"subscribe_id,omitempty"`
DurationDays int64 `json:"duration_days,omitempty"`
Tier string `json:"tier,omitempty"`
}
AttachAppleTransactionByIdRequest {
OrderNo string `json:"order_no" validate:"required"`
TransactionId string `json:"transaction_id" validate:"required"`
Sandbox *bool `json:"sandbox,omitempty"`
}
AttachAppleTransactionResponse {
ExpiresAt int64 `json:"expires_at"`
Tier string `json:"tier"`
}
RestoreAppleTransactionsRequest {
Transactions []string `json:"transactions" validate:"required"`
}
GetAppleStatusResponse {
Active bool `json:"active"`
ExpiresAt int64 `json:"expires_at"`
Tier string `json:"tier"`
}
SiteCustomDataContacts {
Email string `json:"email"`