功能:完善 YumiNail 全栈修复与打包

This commit is contained in:
xiaowang
2026-05-15 21:10:41 +08:00
parent 3d0a859980
commit 1f05e0ab44
42 changed files with 768 additions and 316 deletions
+2 -2
View File
@@ -79,11 +79,11 @@ export const productApi = {
},
likeProduct: async (productId: IdType): Promise<boolean> => {
return await api.post<boolean>(`/product/like/${productId}`) as unknown as boolean
return await api.post<boolean>(`/product-like/like/${productId}`) as unknown as boolean
},
unlikeProduct: async (productId: IdType): Promise<boolean> => {
return await api.post<boolean>(`/product/unlike/${productId}`) as unknown as boolean
return await api.post<boolean>(`/product-like/unlike/${productId}`) as unknown as boolean
},
searchProducts: async (keyword: string): Promise<ProductVO[]> => {