From 1b0bbe7fbe3d62779356f0729f086ceb3901e17b Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期三, 09 四月 2025 16:39:18 +0800 Subject: [PATCH] feat: 接口 --- src/services/api/ParkBountyApply.ts | 295 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 281 insertions(+), 14 deletions(-) diff --git a/src/services/api/ParkBountyApply.ts b/src/services/api/ParkBountyApply.ts index 55d0e25..16fefeb 100644 --- a/src/services/api/ParkBountyApply.ts +++ b/src/services/api/ParkBountyApply.ts @@ -2,13 +2,58 @@ // @ts-ignore import { request } from '@/utils/request'; -/** 鑾峰彇鐢虫姤璇︽儏 POST /api/ParkBountyApply/GetParkBountyApplyDetail */ -export async function getParkBountyApplyDetail( - body: API.GetParkBountyApplyInfoInput, +/** 鏂板鐢虫姤(绗竴姝�) POST /api/ParkBountyApply/AddParkBountyApply */ +export async function addParkBountyApply( + body: API.AddParkBountyApplyStepOneInput, options?: API.RequestConfig ) { - return request<API.GetParkBountyApplyInfoOutput>( - '/api/ParkBountyApply/GetParkBountyApplyDetail', + return request<string>('/api/ParkBountyApply/AddParkBountyApply', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 缁х画鐢虫姤 POST /api/ParkBountyApply/EditParkBountyApply */ +export async function editParkBountyApply( + body: API.EditParkBountyApplyStepOneInput, + options?: API.RequestConfig +) { + return request<number>('/api/ParkBountyApply/EditParkBountyApply', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鑾峰彇鍙�夋嫨鍏徃鍜屽凡鍓旈櫎鍏徃 POST /api/ParkBountyApply/GetCompanyNameList */ +export async function getCompanyNameList( + body: API.GetCompanyNameListInput, + options?: API.RequestConfig +) { + return request<API.GetBatchChooseCompanyOutput>('/api/ParkBountyApply/GetCompanyNameList', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鑾峰彇宸茬敵鎶ヤ紒涓氬垪琛� 鍚彲閫夋嫨銆佸凡鍓旈櫎 POST /api/ParkBountyApply/GetHasApplyCompanyNameList */ +export async function getHasApplyCompanyNameList( + body: API.GetHasApplyCompanyNameListInput, + options?: API.RequestConfig +) { + return request<API.GetBatchChooseCompanyOutput>( + '/api/ParkBountyApply/GetHasApplyCompanyNameList', { method: 'POST', headers: { @@ -20,7 +65,94 @@ ); } -/** 鑾峰彇濂栧姳閲戝彂鏀惧垪琛� POST /api/ParkBountyApply/GetParkBountyApplyList */ +/** 璺熻繘鍥尯鏌ヨ鍏徃鍒嗛〉鍒楄〃 POST /api/ParkBountyApply/GetParkApplyCompanyList */ +export async function getParkApplyCompanyList( + body: API.GetApplyCompanyListInput, + options?: API.RequestConfig +) { + return request<API.GetParkApplyCompanyListOutputPageOutput>( + '/api/ParkBountyApply/GetParkApplyCompanyList', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 鏌ヨ濂栧姳閲戠敵鎶ヤ紒涓氬叕鍙稿垪琛� POST /api/ParkBountyApply/GetParkApplyCompanyStepTwoList */ +export async function getParkApplyCompanyStepTwoList( + body: API.GetParkApplyCompanyStepTwoListInput, + options?: API.RequestConfig +) { + return request<API.ParkBountyApplyDetailInfoPageOutput>( + '/api/ParkBountyApply/GetParkApplyCompanyStepTwoList', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 杩愯惀绔�-鏀垮姟绔�旇幏鍙栫敵鎶ヨ鎯�-鐢虫姤璇︽儏鍩虹淇℃伅 POST /api/ParkBountyApply/GetParkBountyApplyDetailBaseInfo */ +export async function getParkBountyApplyDetailBaseInfo( + body: API.GetParkBountyApplyInfoInput, + options?: API.RequestConfig +) { + return request<API.ParkBountyApplyBaseInfo>( + '/api/ParkBountyApply/GetParkBountyApplyDetailBaseInfo', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 杩愯惀绔�-鏀垮姟绔�旇幏鍙栫敵鎶ヨ鎯呪�旂敵鎶ヤ紒涓氬悕鍗曞垪琛� POST /api/ParkBountyApply/GetParkBountyApplyDetailList */ +export async function getParkBountyApplyDetailList( + body: API.GetParkBountyApplyInfoInput, + options?: API.RequestConfig +) { + return request<API.ParkBountyApplyDetailInfoPageOutput>( + '/api/ParkBountyApply/GetParkBountyApplyDetailList', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 鑾峰彇鐢虫姤浼佷笟涓婁紶鐨勬枃浠� POST /api/ParkBountyApply/GetParkBountyApplyFile */ +export async function getParkBountyApplyFile( + body: API.GetParkBountyApplyFileInput, + options?: API.RequestConfig +) { + return request<API.GetParkBountyApplyFileOutput>('/api/ParkBountyApply/GetParkBountyApplyFile', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 杩愯惀绔�-鏀垮姟绔�旇幏鍙栧鍔遍噾鍙戞斁鍒楄〃 POST /api/ParkBountyApply/GetParkBountyApplyList */ export async function getParkBountyApplyList( body: API.GetParkBountyApplyListInput, options?: API.RequestConfig @@ -38,13 +170,13 @@ ); } -/** 鑾峰彇鍏ヨ处璇︽儏 POST /api/ParkBountyApply/GetParkBountyApplyTransferDetail */ -export async function getParkBountyApplyTransferDetail( +/** 杩愯惀绔�斿叆璐︹�斿鍔遍噾鍏ヨ处璇︽儏鍩虹淇℃伅 POST /api/ParkBountyApply/GetParkBountyApplyTransferDetailInfo */ +export async function getParkBountyApplyTransferDetailInfo( body: API.GetParkBountyApplyTransferInfoInput, options?: API.RequestConfig ) { - return request<API.GetParkBountyApplyTransferInfoOutput>( - '/api/ParkBountyApply/GetParkBountyApplyTransferDetail', + return request<API.ParkBountyApplyBaseInfo>( + '/api/ParkBountyApply/GetParkBountyApplyTransferDetailInfo', { method: 'POST', headers: { @@ -56,7 +188,94 @@ ); } -/** 鎵归噺鍏ヨ处 POST /api/ParkBountyApply/ParkBountyApplyBatchTransfer */ +/** 杩愯惀绔�斿叆璐︹�旂敵鎶ヤ紒涓氬悕鍗� POST /api/ParkBountyApply/GetParkBountyApplyTransferDetailList */ +export async function getParkBountyApplyTransferDetailList( + body: API.GetParkBountyApplyTransferInfoInput, + options?: API.RequestConfig +) { + return request<API.ParkBountyApplyTransferDetailInfoPageOutput>( + '/api/ParkBountyApply/GetParkBountyApplyTransferDetailList', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 杩愯惀绔�-鏀垮姟绔竴鍥尯瀹㈡埛绠$悊璇︽儏涓�浼佷笟鐢虫姤璁板綍 POST /api/ParkBountyApply/GetParkCustomerBountyApplyList */ +export async function getParkCustomerBountyApplyList( + body: API.QueryParkCustomerBountyApplyInput, + options?: API.RequestConfig +) { + return request<API.GetParkCustomerBountyApplyOutputPageOutput>( + '/api/ParkBountyApply/GetParkCustomerBountyApplyList', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 杩愯惀绔竴鍥尯瀹㈡埛绠$悊璇︽儏涓�濂栧姳閲戝彂鏀捐褰� POST /api/ParkBountyApply/GetParkCustomerBountyGrantList */ +export async function getParkCustomerBountyGrantList( + body: API.QueryParkCustomerBountyApplyInput, + options?: API.RequestConfig +) { + return request<API.GetParkCustomerBountyGrantOutputPageOutput>( + '/api/ParkBountyApply/GetParkCustomerBountyGrantList', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 杩愯惀绔�-鏀垮姟绔竴鍥尯瀹㈡埛绠$悊鍒楄〃 POST /api/ParkBountyApply/GetParkCustomerManagePage */ +export async function getParkCustomerManagePage( + body: API.QueryParkCustomerManageInput, + options?: API.RequestConfig +) { + return request<API.GetParkCustomerManageOutputPageOutput>( + '/api/ParkBountyApply/GetParkCustomerManagePage', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 鍐呴儴瀹℃牳 POST /api/ParkBountyApply/IncheckParkBountyApply */ +export async function incheckParkBountyApply( + body: API.IncheckParkBountyApplyInput, + options?: API.RequestConfig +) { + return request<number>('/api/ParkBountyApply/IncheckParkBountyApply', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 杩愯惀绔�斿叆璐�-鎵归噺鍏ヨ处 POST /api/ParkBountyApply/ParkBountyApplyBatchTransfer */ export async function parkBountyApplyBatchTransfer( body: API.ParkBountyApplyBatchTransferInput, options?: API.RequestConfig @@ -71,7 +290,7 @@ }); } -/** 涓婁紶鍙戠エ鍑瘉 POST /api/ParkBountyApply/ParkBountyApplySettle */ +/** 杩愯惀绔�斿叆璐︹�斾笂浼犲嚟璇� POST /api/ParkBountyApply/ParkBountyApplySettle */ export async function parkBountyApplySettle( body: API.ParkBountyApplySettleInput, options?: API.RequestConfig @@ -86,7 +305,7 @@ }); } -/** 濂栧姳閲戝叆璐� POST /api/ParkBountyApply/ParkBountyApplyTransfer */ +/** 杩愯惀绔�斿叆璐︹�斿鍔遍噾鍏ヨ处 POST /api/ParkBountyApply/ParkBountyApplyTransfer */ export async function parkBountyApplyTransfer( body: API.ParkBountyApplyTransferInput, options?: API.RequestConfig @@ -101,7 +320,7 @@ }); } -/** 涓婁紶鍑瘉 POST /api/ParkBountyApply/ParkBountyApplyTransferFile */ +/** 鏀垮姟绔�斿鍔遍噾涓婁紶鍑瘉 POST /api/ParkBountyApply/ParkBountyApplyTransferFile */ export async function parkBountyApplyTransferFile( body: API.ParkBountyApplyTransferFileInput, options?: API.RequestConfig @@ -115,3 +334,51 @@ ...(options || {}), }); } + +/** 淇濆瓨濂栭噾鍒嗛厤琛ㄣ�佸鍔遍噾姹囨�昏〃銆佸鍔辨�婚 POST /api/ParkBountyApply/SaveParkBountyApplyCollectFile */ +export async function saveParkBountyApplyCollectFile( + body: API.SaveParkBountyApplyCollectFileInput, + options?: API.RequestConfig +) { + return request<number>('/api/ParkBountyApply/SaveParkBountyApplyCollectFile', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 淇濆瓨浼佷笟缂寸◣鏄庣粏銆佽惀鏀舵眹鎬� POST /api/ParkBountyApply/SaveParkBountyApplyGatherFile */ +export async function saveParkBountyApplyGatherFile( + body: API.SaveParkBountyApplyGatherFileInput, + options?: API.RequestConfig +) { + return request<number>('/api/ParkBountyApply/SaveParkBountyApplyGatherFile', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 涓婁紶浼佷笟鏉愭枡 POST /api/ParkBountyApply/UploadParkBountyApplyCompanyFile */ +export async function uploadParkBountyApplyCompanyFile( + body: API.UploadParkBountyApplyCompanyFileInput, + options?: API.RequestConfig +) { + return request<API.UploadParkBountyApplyCompanyFileOutput>( + '/api/ParkBountyApply/UploadParkBountyApplyCompanyFile', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} -- Gitblit v1.9.1