功能(网页):新增客户体验流程

This commit is contained in:
xiaowang
2026-05-23 21:56:18 +08:00
parent c2c985b2f8
commit 861eea933b
28 changed files with 2236 additions and 108 deletions
+8
View File
@@ -16,6 +16,8 @@ export interface ProductVO {
name: string
title?: string
description: string
targetAudience?: string
precautions?: string
image: string
imageFileIds?: string
imageUrls?: string[]
@@ -57,6 +59,8 @@ export interface ListProductsParams {
page: number
size: number
keyword?: string
tag?: string
tagIds?: string
}
/**
@@ -120,5 +124,9 @@ export const productApi = {
keyword: keyword
}
}) as unknown as ProductVO[]
},
getProductPage: async (params: ListProductsParams): Promise<{ list: ProductVO[]; total: number; page: number; size: number }> => {
return await api.get('/product/list/page', { params }) as unknown as { list: ProductVO[]; total: number; page: number; size: number }
}
}