feat(subscribe): rename stop user subscribe handler to toggle and update logic for status change

This commit is contained in:
Tension
2025-12-29 13:50:50 +08:00
parent 577490749c
commit e8084e9d2c
5 changed files with 28 additions and 18 deletions
+4 -4
View File
@@ -2044,10 +2044,6 @@ 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"`
@@ -2239,6 +2235,10 @@ type ToggleNodeStatusRequest struct {
Enable *bool `json:"enable"`
}
type ToggleUserSubscribeStatusRequest struct {
UserSubscribeId int64 `json:"user_subscribe_id"`
}
type TosConfig struct {
TosContent string `json:"tos_content"`
}