From 947b2ed877ac51cb2e020c382a9776b2ae595dab Mon Sep 17 00:00:00 2001 From: Leufolium Date: Mon, 2 Sep 2024 13:04:12 +0800 Subject: [PATCH] 1 --- api/errcode/errcode.go | 8 ++++---- codecreate/codecreate.go | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/errcode/errcode.go b/api/errcode/errcode.go index 727ebf3e..840a5688 100644 --- a/api/errcode/errcode.go +++ b/api/errcode/errcode.go @@ -587,11 +587,11 @@ const ( ErrCodeVideoModerationSrvFail ErrCode = -44001 // 视频审核服务错误 ErrCodeVideoModerationNotExist ErrCode = -44002 // 视频审核不存在 - // 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)