11
This commit is contained in:
1 parent
f8613ca1a8
commit
9dc409b4f9
2 files changed
+8
-3
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user