fix(api): 错误提示 - 将业务冲突与校验信息本地化
This commit is contained in:
1 parent
98bc434693
commit
7b26f7f150
13 files changed
+44
-44
No files matched your search
@@ -11,7 +11,7 @@ import (
|
||||
"infinite-canvas/backend/internal/model"
|
||||
)
|
||||
|
||||
var ErrCreationConflict = errors.New("creation state changed; reload before continuing")
|
||||
var ErrCreationConflict = errors.New("数据已被更新,请刷新后重试")
|
||||
|
||||
func (r *Repository) CreationStorageUsage(userID string) (int64, int64, error) {
|
||||
var usage struct {
|
||||
|
||||
Reference in new issue
Block a user