初始化仓库

This commit is contained in:
wangxiaowei
2025-05-20 13:28:17 +08:00
commit c1739d4e5d
553 changed files with 43740 additions and 0 deletions

26
src/api/goods.ts Normal file
View File

@ -0,0 +1,26 @@
import request from '@/utils/request'
// 商品主表列表
export function apiGoodsLists(params: any) {
return request.get({ url: '/goods/lists', params })
}
// 添加商品主表
export function apiGoodsAdd(params: any) {
return request.post({ url: '/goods/add', params })
}
// 编辑商品主表
export function apiGoodsEdit(params: any) {
return request.post({ url: '/goods/edit', params })
}
// 删除商品主表
export function apiGoodsDelete(params: any) {
return request.post({ url: '/goods/delete', params })
}
// 商品主表详情
export function apiGoodsDetail(params: any) {
return request.get({ url: '/goods/detail', params })
}