You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
4.1 KiB
TypeScript

2 years ago
// @ts-ignore
/* eslint-disable */
import request from '@/utils/request';
/** 添加收藏 添加收藏 GET /b2b2c/pbcusercollect/add */
export async function addUsingGet(body: API.PbcUserCollectDTO, options?: { [key: string]: any }) {
return request<API.AjaxResult>('/b2b2c/pbcusercollect/add', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** 添加收藏 添加收藏 PUT /b2b2c/pbcusercollect/add */
export async function addUsingPut(body: API.PbcUserCollectDTO, options?: { [key: string]: any }) {
return request<API.AjaxResult>('/b2b2c/pbcusercollect/add', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** 添加收藏 添加收藏 POST /b2b2c/pbcusercollect/add */
export async function addUsingPost(body: API.PbcUserCollectDTO, options?: { [key: string]: any }) {
return request<API.AjaxResult>('/b2b2c/pbcusercollect/add', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** 添加收藏 添加收藏 DELETE /b2b2c/pbcusercollect/add */
export async function addUsingDelete(
body: API.PbcUserCollectDTO,
options?: { [key: string]: any },
) {
return request<API.AjaxResult>('/b2b2c/pbcusercollect/add', {
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** 添加收藏 添加收藏 PATCH /b2b2c/pbcusercollect/add */
export async function addUsingPatch(body: API.PbcUserCollectDTO, options?: { [key: string]: any }) {
return request<API.AjaxResult>('/b2b2c/pbcusercollect/add', {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** pbcUserCollectPage 用户收藏列表 POST /b2b2c/pbcusercollect/pbcUserCollectPage */
export async function pbcUserCollectPageUsingPost(
body: API.PageVO,
options?: { [key: string]: any },
) {
return request<API.AjaxResult>('/b2b2c/pbcusercollect/pbcUserCollectPage', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** 移除收藏 移除收藏 GET /b2b2c/pbcusercollect/remove */
export async function removeUsingGet(
body: API.PbcUserCollectDTO,
options?: { [key: string]: any },
) {
return request<API.AjaxResult>('/b2b2c/pbcusercollect/remove', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** 移除收藏 移除收藏 PUT /b2b2c/pbcusercollect/remove */
export async function removeUsingPut(
body: API.PbcUserCollectDTO,
options?: { [key: string]: any },
) {
return request<API.AjaxResult>('/b2b2c/pbcusercollect/remove', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** 移除收藏 移除收藏 POST /b2b2c/pbcusercollect/remove */
export async function removeUsingPost(
body: API.PbcUserCollectDTO,
options?: { [key: string]: any },
) {
return request<API.AjaxResult>('/b2b2c/pbcusercollect/remove', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** 移除收藏 移除收藏 DELETE /b2b2c/pbcusercollect/remove */
export async function removeUsingDelete(
body: API.PbcUserCollectDTO,
options?: { [key: string]: any },
) {
return request<API.AjaxResult>('/b2b2c/pbcusercollect/remove', {
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** 移除收藏 移除收藏 PATCH /b2b2c/pbcusercollect/remove */
export async function removeUsingPatch(
body: API.PbcUserCollectDTO,
options?: { [key: string]: any },
) {
return request<API.AjaxResult>('/b2b2c/pbcusercollect/remove', {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}