first commit
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
/* eslint-disable */
|
||||
// @ts-ignore
|
||||
import request from '@/http/vue-query';
|
||||
import type { CustomRequestOptions } from '@/http/types';
|
||||
|
||||
import * as API from './types';
|
||||
|
||||
/** 查询炒菜机详情 GET /app/automaticCookingMachine/detail */
|
||||
export async function appAutomaticCookingMachineDetailGet({
|
||||
options,
|
||||
}: {
|
||||
options?: CustomRequestOptions;
|
||||
}) {
|
||||
return request<API.RAutomaticCookingMachineVo>(
|
||||
'/app/automaticCookingMachine/detail',
|
||||
{
|
||||
method: 'GET',
|
||||
...(options || {}),
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
/** 炒菜机报名 POST /app/automaticCookingMachine/registration */
|
||||
export async function appAutomaticCookingMachineRegistrationPost({
|
||||
body,
|
||||
options,
|
||||
}: {
|
||||
body: API.AutomaticCookingMachineRegistrationBo;
|
||||
options?: CustomRequestOptions;
|
||||
}) {
|
||||
return request<API.RVoid>('/app/automaticCookingMachine/registration', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
data: body,
|
||||
...(options || {}),
|
||||
});
|
||||
}
|
||||
|
||||
/** 修改炒菜机 PUT /xjpmj/automaticCookingMachine */
|
||||
export async function xjpmjAutomaticCookingMachinePut({
|
||||
body,
|
||||
options,
|
||||
}: {
|
||||
body: API.AutomaticCookingMachineBoEditGroup;
|
||||
options?: CustomRequestOptions;
|
||||
}) {
|
||||
return request<API.RVoid>('/xjpmj/automaticCookingMachine', {
|
||||
method: 'PUT',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
data: body,
|
||||
...(options || {}),
|
||||
});
|
||||
}
|
||||
|
||||
/** 获取炒菜机详细信息 GET /xjpmj/automaticCookingMachine/getInfo */
|
||||
export async function xjpmjAutomaticCookingMachineGetInfoGet({
|
||||
options,
|
||||
}: {
|
||||
options?: CustomRequestOptions;
|
||||
}) {
|
||||
return request<API.RAutomaticCookingMachineVo>(
|
||||
'/xjpmj/automaticCookingMachine/getInfo',
|
||||
{
|
||||
method: 'GET',
|
||||
...(options || {}),
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user