feat(subscribe): rename stop user subscribe handler to toggle and update logic for status change
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user