diff --git a/backend/internal/handler/dto/mappers.go b/backend/internal/handler/dto/mappers.go index 06a8130b..d58a8a29 100644 --- a/backend/internal/handler/dto/mappers.go +++ b/backend/internal/handler/dto/mappers.go @@ -316,7 +316,7 @@ func RedeemCodeFromServiceAdmin(rc *service.RedeemCode) *AdminRedeemCode { } return &AdminRedeemCode{ RedeemCode: redeemCodeFromServiceBase(rc), - Notes: rc.Notes, + Notes: rc.Notes, } } diff --git a/backend/internal/handler/dto/types.go b/backend/internal/handler/dto/types.go index 8a1d2fcd..938d707c 100644 --- a/backend/internal/handler/dto/types.go +++ b/backend/internal/handler/dto/types.go @@ -350,10 +350,10 @@ type AdminUserSubscription struct { } type BulkAssignResult struct { - SuccessCount int `json:"success_count"` - FailedCount int `json:"failed_count"` + SuccessCount int `json:"success_count"` + FailedCount int `json:"failed_count"` Subscriptions []AdminUserSubscription `json:"subscriptions"` - Errors []string `json:"errors"` + Errors []string `json:"errors"` } // PromoCode 注册优惠码