diff --git a/api/errcode/errcode.go b/api/errcode/errcode.go index c7c9f93a..a357cb65 100644 --- a/api/errcode/errcode.go +++ b/api/errcode/errcode.go @@ -597,11 +597,11 @@ const ( ErrCodeEmailSrvFail ErrCode = -45001 // 电子邮件表服务错误 ErrCodeEmailNotExist ErrCode = -45002 // 电子邮件表不存在 - // Notification: 45xxx + // Notification: 46xxx ErrCodeNotificationSrvOk ErrCode = ErrCodeOk - ErrCodeNotificationSrvFail ErrCode = -45001 // 系统通知表服务错误 - ErrCodeNotificationNotExist ErrCode = -45002 // 系统通知表不存在 - ErrCodeNotificationCountRedisCacheInvalid ErrCode = -45003 // 系统通知表redis缓存失效 + ErrCodeNotificationSrvFail ErrCode = -46001 // 系统通知表服务错误 + ErrCodeNotificationNotExist ErrCode = -46002 // 系统通知表不存在 + ErrCodeNotificationCountRedisCacheInvalid ErrCode = -46003 // 系统通知表redis缓存失效 // Media: 60xxx ErrCodeMediaSrvOk ErrCode = ErrCodeOk diff --git a/codecreate/codecreate.go b/codecreate/codecreate.go index afd91b42..42eeaab5 100644 --- a/codecreate/codecreate.go +++ b/codecreate/codecreate.go @@ -12,7 +12,7 @@ func main() { EntityName: "Notification", ModuleName: "notification", EntityCNName: "系统通知表", - ErrCodeSeq: "45", + ErrCodeSeq: "46", } generator.CreateFileDirectory(genSource)