master
Joe 1 year ago
parent b6e9b7d982
commit 28310fd1ee

@ -2,41 +2,41 @@
/* eslint-disable */
import request from '@/utils/request';
/** errorHtml GET /error */
export async function errorHtmlUsingGet(options?: { [key: string]: any }) {
return request<API.ModelAndView>('/error', {
/** error GET /error */
export async function errorUsingGet(options?: { [key: string]: any }) {
return request<Record<string, any>>('/error', {
method: 'GET',
...(options || {}),
});
}
/** errorHtml PUT /error */
export async function errorHtmlUsingPut(options?: { [key: string]: any }) {
return request<API.ModelAndView>('/error', {
/** error PUT /error */
export async function errorUsingPut(options?: { [key: string]: any }) {
return request<Record<string, any>>('/error', {
method: 'PUT',
...(options || {}),
});
}
/** errorHtml POST /error */
export async function errorHtmlUsingPost(options?: { [key: string]: any }) {
return request<API.ModelAndView>('/error', {
/** error POST /error */
export async function errorUsingPost(options?: { [key: string]: any }) {
return request<Record<string, any>>('/error', {
method: 'POST',
...(options || {}),
});
}
/** errorHtml DELETE /error */
export async function errorHtmlUsingDelete(options?: { [key: string]: any }) {
return request<API.ModelAndView>('/error', {
/** error DELETE /error */
export async function errorUsingDelete(options?: { [key: string]: any }) {
return request<Record<string, any>>('/error', {
method: 'DELETE',
...(options || {}),
});
}
/** errorHtml PATCH /error */
export async function errorHtmlUsingPatch(options?: { [key: string]: any }) {
return request<API.ModelAndView>('/error', {
/** error PATCH /error */
export async function errorUsingPatch(options?: { [key: string]: any }) {
return request<Record<string, any>>('/error', {
method: 'PATCH',
...(options || {}),
});

@ -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 || {}),
});
}

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save