删除冗余代码

This commit is contained in:
唐明明
2022-08-29 11:08:37 +08:00
34 changed files with 10591 additions and 4428 deletions

View File

@@ -45,7 +45,7 @@ const request = (parameter, hideLoding = true) => {
header: config.header || {},
data: parameter.data || {},
method: parameter.method || 'GET',
success: res => {
success: res => {
if (res.header.Authorization) {
updateToken('token', res.header.Authorization)
}

View File

@@ -17,6 +17,24 @@ const pinList = (data) => {
})
}
export {
pinList
// 我的拼团列表
const myPinList = (data) => {
return request({
url: 'mall/collages',
data:data
})
}
// 根据拼团 id 获取拼团详情
const myPinDetail = (id) => {
return request({
url: 'mall/collages/'+id,
})
}
export {
pinList,
myPinList,
myPinDetail
}