基本完成了用户相关前端页面的编写,经过测试能够实现相关功能

This commit is contained in:
puzvv
2025-12-20 01:37:06 +08:00
parent 15885463d3
commit 57fe499080
21 changed files with 1800 additions and 203 deletions

14
src/apis/product.ts Normal file
View File

@@ -0,0 +1,14 @@
import http from "../utils/http";
export const addProduct = (data: {
name: string;
price: number;
description: string;
image: string;
}) => {
return http({
url: "/product",
method: "post",
data,
});
};