/* 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( '/app/automaticCookingMachine/detail', { method: 'GET', ...(options || {}), } ); } /** 炒菜机报名 POST /app/automaticCookingMachine/registration */ export async function appAutomaticCookingMachineRegistrationPost({ body, options, }: { body: API.AutomaticCookingMachineRegistrationBo; options?: CustomRequestOptions; }) { return request('/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('/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( '/xjpmj/automaticCookingMachine/getInfo', { method: 'GET', ...(options || {}), } ); }