master
Joe 1 year ago
parent b6e9b7d982
commit 28310fd1ee

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

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