feat(user): add handlers and logic for resetting user subscribe token and traffic

This commit is contained in:
Tension
2025-12-28 16:49:28 +08:00
parent 67f16ead82
commit 31e634ba66
12 changed files with 280 additions and 4 deletions
+8
View File
@@ -1846,6 +1846,10 @@ type ResetUserSubscribeTokenRequest struct {
UserSubscribeId int64 `json:"user_subscribe_id"`
}
type ResetUserSubscribeTrafficRequest struct {
UserSubscribeId int64 `json:"user_subscribe_id"`
}
type RevenueStatisticsResponse struct {
Today OrdersStatistics `json:"today"`
Monthly OrdersStatistics `json:"monthly"`
@@ -2039,6 +2043,10 @@ type StopBatchSendEmailTaskRequest struct {
Id int64 `json:"id"`
}
type StopUserSubscribeRequest struct {
UserSubscribeId int64 `json:"user_subscribe_id"`
}
type StripePayment struct {
Method string `json:"method"`
ClientSecret string `json:"client_secret"`