功能(网页):新增客户体验流程
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user