This commit is contained in:
2026-06-28 20:55:56 +08:00
parent 30a24aab68
commit 2eec7e5bbe
8 changed files with 508 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ type ProductApplicationService interface {
ListProductsForAdmin(ctx context.Context, filters map[string]interface{}, options interfaces.ListOptions) (*responses.ProductAdminListResponse, error)
GetProductByIDForAdmin(ctx context.Context, query *queries.GetProductDetailQuery) (*responses.ProductAdminInfoResponse, error)
// AI专用方法
ListProductsForAI(ctx context.Context, filters map[string]interface{}, options interfaces.ListOptions) (*responses.ProductAIListResponse, error)
// 用户端专用方法
GetProductByIDForUser(ctx context.Context, query *queries.GetProductDetailQuery) (*responses.ProductInfoWithDocumentResponse, error)