From 6bac509f8e6efc205d9f37a84c9b019ec828467a Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期三, 07 五月 2025 14:22:26 +0800 Subject: [PATCH] feat: 接口 --- src/services/api/EnterpriseApplyFile.ts | 156 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 156 insertions(+), 0 deletions(-) diff --git a/src/services/api/EnterpriseApplyFile.ts b/src/services/api/EnterpriseApplyFile.ts new file mode 100644 index 0000000..3013b93 --- /dev/null +++ b/src/services/api/EnterpriseApplyFile.ts @@ -0,0 +1,156 @@ +/* eslint-disable */ +// @ts-ignore +import { request } from '@/utils/request'; + +/** 纭鎻愪氦鏉愭枡涓婁紶 POST /api/EnterpriseApplyFile/CustomerUploadMonthApplyFile */ +export async function customerUploadMonthApplyFile( + body: API.CustomerUploadMonthApplyFileInput, + options?: API.RequestConfig +) { + return request<number>('/api/EnterpriseApplyFile/CustomerUploadMonthApplyFile', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 瀹㈡埛绔垹闄ゆ寜鏈堜笂浼犲崟涓枃浠� DELETE /api/EnterpriseApplyFile/DeleteMonthApplySingleFile */ +export async function deleteMonthApplySingleFile( + body: API.DeleteMonthApplySingleFileInput, + options?: API.RequestConfig +) { + return request<number>('/api/EnterpriseApplyFile/DeleteMonthApplySingleFile', { + method: 'DELETE', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鏌ヨ璇ュ鎴烽渶瑕佷笂浼犳枃浠剁被鍨嬬被鍒� GET /api/EnterpriseApplyFile/GetCustomerFileTypeHead */ +export async function getCustomerFileTypeHead( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetCustomerFileTypeHeadParams, + options?: API.RequestConfig +) { + return request<API.GetCustomerUploadApplyFilesOutput[]>( + '/api/EnterpriseApplyFile/GetCustomerFileTypeHead', + { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + } + ); +} + +/** 鑾峰彇鏈堜唤涓婁紶鏂囦欢璇︽儏 POST /api/EnterpriseApplyFile/GetCustomerUploadApplyFiles */ +export async function getCustomerUploadApplyFiles( + body: API.GetCustomerUploadApplyFilesInput, + options?: API.RequestConfig +) { + return request<API.GetCustomerUploadApplyFilesOutput[]>( + '/api/EnterpriseApplyFile/GetCustomerUploadApplyFiles', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 鑾峰彇鏈堜唤涓婁紶鏂囦欢鎸夌被鍨嬫煡璇㈡枃浠跺垪琛� POST /api/EnterpriseApplyFile/GetCustomerUploadApplyFilesByType */ +export async function getCustomerUploadApplyFilesByType( + body: API.GetCustomerUploadApplyFilesByTypeInput, + options?: API.RequestConfig +) { + return request<API.GetCustomerUploadApplyFilesByTypeOutput[]>( + '/api/EnterpriseApplyFile/GetCustomerUploadApplyFilesByType', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 鏍规嵁鏈堜唤鏌ヨ鏄惁瀛樺湪鎻愪氦璁板綍 GET /api/EnterpriseApplyFile/GetCustomerUploadFileRecord */ +export async function getCustomerUploadFileRecord( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetCustomerUploadFileRecordParams, + options?: API.RequestConfig +) { + return request<API.GetCustomerUploadFileRecordOutput>( + '/api/EnterpriseApplyFile/GetCustomerUploadFileRecord', + { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + } + ); +} + +/** 鎸夋湀浠芥煡璇紒涓氫笂浼犳潗鏂欏垪琛� POST /api/EnterpriseApplyFile/GetEnterpriseApplyUploadFile */ +export async function getEnterpriseApplyUploadFile( + body: API.PageInput, + options?: API.RequestConfig +) { + return request<API.GetEnterpriseMonthApplyFileOutputPageOutput>( + '/api/EnterpriseApplyFile/GetEnterpriseApplyUploadFile', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 鑾峰彇鍥尯姹囨�绘潗鏂欑被鍨� POST /api/EnterpriseApplyFile/GetParkCollectFileTypeList */ +export async function getParkCollectFileTypeList( + body: API.GetParkCollectFileTypeListInput, + options?: API.RequestConfig +) { + return request<API.GetCustomerUploadApplyFilesOutput[]>( + '/api/EnterpriseApplyFile/GetParkCollectFileTypeList', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 涓婁紶鏉愭枡璇︽儏-缂栬緫-涓婁紶鏂囦欢 POST /api/EnterpriseApplyFile/UploadMonthApplySingleFiles */ +export async function uploadMonthApplySingleFiles( + body: API.UploadMonthApplySingleFilesInput, + options?: API.RequestConfig +) { + return request<number>('/api/EnterpriseApplyFile/UploadMonthApplySingleFiles', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} -- Gitblit v1.9.1