// @ts-ignore /* eslint-disable */ import { request } from 'umi'; /** 此处后端没有提供注释 GET /site-product/list */ export async function siteproductcontrollerGetsiteproductlist( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) params: API.siteproductcontrollerGetsiteproductlistParams, options?: { [key: string]: any }, ) { return request('/site-product/list', { method: 'GET', params: { ...params, }, ...(options || {}), }); } /** 此处后端没有提供注释 POST /site-product/sync */ export async function siteproductcontrollerSyncsiteproducts( body: number, options?: { [key: string]: any }, ) { return request('/site-product/sync', { method: 'POST', headers: { 'Content-Type': 'text/plain', }, data: body, ...(options || {}), }); }