11
This commit is contained in:
1 parent
9dc409b4f9
commit
5b24a8abb6
18 files changed
+2796
-5
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import request from '@/config/axios'
|
||||
import { useUserStore } from '@/store/modules/user';
|
||||
const UserVO = useUserStore();
|
||||
|
||||
export interface Property {
|
||||
propertyId?: number // 属性编号
|
||||
propertyName?: string // 属性名称
|
||||
@@ -59,14 +59,14 @@ export interface Spu {
|
||||
stock?: number // 商品库存
|
||||
createTime?: Date // 商品创建时间
|
||||
status?: number // 商品状态
|
||||
types?: number // 商品类型
|
||||
}
|
||||
|
||||
// 获得 Spu 列表
|
||||
export const getSpuPage = (params: PageParam) => {
|
||||
// /product/spu/page
|
||||
return request.get({ url: '/product/spu/pageWithCreator',params:{
|
||||
...params,
|
||||
creator:UserVO.user.id
|
||||
...params
|
||||
}})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user