This commit is contained in:
jiangzewen committed 2025-05-08 09:31:10 +08:00
1 parent f8613ca1a8
commit 9dc409b4f9
2 files changed
+8 -3

No files matched your search

+7 -2
View File
@@ -1,5 +1,6 @@
import request from '@/config/axios'
import { useUserStore } from '@/store/modules/user';
const UserVO = useUserStore();
export interface Property {
propertyId?: number // 属性编号
propertyName?: string // 属性名称
@@ -62,7 +63,11 @@ export interface Spu {
// 获得 Spu 列表
export const getSpuPage = (params: PageParam) => {
return request.get({ url: '/product/spu/page', params })
// /product/spu/page
return request.get({ url: '/product/spu/pageWithCreator',params:{
...params,
creator:UserVO.user.id
}})
}
// 获得 Spu 列表 tabsCount