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

+1 -1
View File
@@ -4,7 +4,7 @@ NODE_ENV=production
VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://60.12.184.86:48089'
VITE_BASE_URL='http://xrhomeapi.zianxin.com'
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务
VITE_UPLOAD_TYPE=server
+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