style(dto): 修复 gofmt 格式问题

- 修复 mappers.go 中 Notes 字段的对齐格式
- 修复 types.go 中 BulkAssignResult 结构体字段的 JSON tag 对齐

修复 golangci-lint 检查中的 gofmt 格式错误
This commit is contained in:
墨颜
2026-01-19 21:26:30 +08:00
parent 6aef1af76e
commit c8fb9ef3a5
2 changed files with 4 additions and 4 deletions

View File

@@ -316,7 +316,7 @@ func RedeemCodeFromServiceAdmin(rc *service.RedeemCode) *AdminRedeemCode {
}
return &AdminRedeemCode{
RedeemCode: redeemCodeFromServiceBase(rc),
Notes: rc.Notes,
Notes: rc.Notes,
}
}

View File

@@ -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 注册优惠码