基础架构

This commit is contained in:
2025-07-13 16:36:20 +08:00
parent e3d64e7485
commit 807004f78d
128 changed files with 17232 additions and 11396 deletions

View File

@@ -29,7 +29,7 @@ type Repository[T any] interface {
BaseRepository
// 基础CRUD操作
Create(ctx context.Context, entity T) error
Create(ctx context.Context, entity T) (T, error)
GetByID(ctx context.Context, id string) (T, error)
Update(ctx context.Context, entity T) error