初始化项目

This commit is contained in:
2025-12-06 09:10:24 +08:00
parent d730752f01
commit c9fcfc761e
35 changed files with 4283 additions and 295 deletions

View File

@@ -1 +1,34 @@
package consts
// 广告管理错误码
const (
ErrAdNotFound = 1001 // 广告不存在
ErrAdStatusInvalid = 1002 // 广告状态无效
ErrAdAuditedRejected = 1003 // 广告审核被拒绝
ErrAdBudgetInsufficient = 1004 // 广告预算不足
)
// 广告主管理错误码
const (
ErrAdvertiserNotFound = 2001 // 广告主不存在
ErrAdvertiserStatusInvalid = 2002 // 广告主状态无效
ErrAdvertiserAuditedRejected = 2003 // 广告主审核被拒绝
ErrAdvertiserBalanceLow = 2004 // 广告主余额不足
ErrCreditLimitInvalid = 2005 // 授信额度无效
)
// 广告位管理错误码
const (
ErrAdPositionNotFound = 3001 // 广告位不存在
ErrAdPositionStatusInvalid = 3002 // 广告位状态无效
ErrAdPositionCodeExists = 3003 // 广告位编码已存在
ErrAdNotMatched = 3004 // 无匹配广告
)
// 报表管理错误码
const (
ErrReportNotFound = 4001 // 报表不存在
ErrReportNotGenerated = 4002 // 报表未生成
ErrReportExpired = 4003 // 报表已过期
ErrReportInvalidFormat = 4004 // 报表格式无效
)