|
|
|
@ -123,33 +123,9 @@ export async function typeListUsingPatch(body: API.AjaxRequest, options?: { [key
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** update GET /b2b2c/pbcproducthot/update */
|
|
|
|
|
export async function updateUsingGet(body: API.AjaxRequest, options?: { [key: string]: any }) {
|
|
|
|
|
return request<API.AjaxResult>('/b2b2c/pbcproducthot/update', {
|
|
|
|
|
method: 'GET',
|
|
|
|
|
headers: {
|
|
|
|
|
'Content-Type': 'application/json',
|
|
|
|
|
},
|
|
|
|
|
data: body,
|
|
|
|
|
...(options || {}),
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** update PUT /b2b2c/pbcproducthot/update */
|
|
|
|
|
export async function updateUsingPut(body: API.AjaxRequest, options?: { [key: string]: any }) {
|
|
|
|
|
return request<API.AjaxResult>('/b2b2c/pbcproducthot/update', {
|
|
|
|
|
method: 'PUT',
|
|
|
|
|
headers: {
|
|
|
|
|
'Content-Type': 'application/json',
|
|
|
|
|
},
|
|
|
|
|
data: body,
|
|
|
|
|
...(options || {}),
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** update POST /b2b2c/pbcproducthot/update */
|
|
|
|
|
export async function updateUsingPost(body: API.AjaxRequest, options?: { [key: string]: any }) {
|
|
|
|
|
return request<API.AjaxResult>('/b2b2c/pbcproducthot/update', {
|
|
|
|
|
/** 热销商品列表,类型有新品、主推、热销 列表 POST /b2b2c/pbcproducthot/update */
|
|
|
|
|
export async function updateUsingPost(body: API.PbcProductHot, options?: { [key: string]: any }) {
|
|
|
|
|
return request<API.AjaxResultString_>('/b2b2c/pbcproducthot/update', {
|
|
|
|
|
method: 'POST',
|
|
|
|
|
headers: {
|
|
|
|
|
'Content-Type': 'application/json',
|
|
|
|
@ -158,27 +134,3 @@ export async function updateUsingPost(body: API.AjaxRequest, options?: { [key: s
|
|
|
|
|
...(options || {}),
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** update DELETE /b2b2c/pbcproducthot/update */
|
|
|
|
|
export async function updateUsingDelete(body: API.AjaxRequest, options?: { [key: string]: any }) {
|
|
|
|
|
return request<API.AjaxResult>('/b2b2c/pbcproducthot/update', {
|
|
|
|
|
method: 'DELETE',
|
|
|
|
|
headers: {
|
|
|
|
|
'Content-Type': 'application/json',
|
|
|
|
|
},
|
|
|
|
|
data: body,
|
|
|
|
|
...(options || {}),
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** update PATCH /b2b2c/pbcproducthot/update */
|
|
|
|
|
export async function updateUsingPatch(body: API.AjaxRequest, options?: { [key: string]: any }) {
|
|
|
|
|
return request<API.AjaxResult>('/b2b2c/pbcproducthot/update', {
|
|
|
|
|
method: 'PATCH',
|
|
|
|
|
headers: {
|
|
|
|
|
'Content-Type': 'application/json',
|
|
|
|
|
},
|
|
|
|
|
data: body,
|
|
|
|
|
...(options || {}),
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|