From 8fb20fc31b4be097e5408b9ecfeb5002ebe042f3 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 10 四月 2025 15:07:47 +0800 Subject: [PATCH] feat: 接口 --- src/services/api/ParkBountyApply.ts | 181 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 180 insertions(+), 1 deletions(-) diff --git a/src/services/api/ParkBountyApply.ts b/src/services/api/ParkBountyApply.ts index 16fefeb..0950200 100644 --- a/src/services/api/ParkBountyApply.ts +++ b/src/services/api/ParkBountyApply.ts @@ -17,6 +17,21 @@ }); } +/** 鎾ゅ洖鐢虫姤 GET /api/ParkBountyApply/CancelParkBountyApply */ +export async function cancelParkBountyApply( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIcancelParkBountyApplyParams, + options?: API.RequestConfig +) { + return request<number>('/api/ParkBountyApply/CancelParkBountyApply', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + /** 缁х画鐢虫姤 POST /api/ParkBountyApply/EditParkBountyApply */ export async function editParkBountyApply( body: API.EditParkBountyApplyStepOneInput, @@ -47,6 +62,32 @@ }); } +/** 鑾峰彇杩愯惀绔� 濂栧姳閲戠敵鎶ュ垪琛� POST /api/ParkBountyApply/GetCustmoerParkBountyApplyList */ +export async function getCustmoerParkBountyApplyList( + body: API.GetCustomerParkBountyApplyListInput, + options?: API.RequestConfig +) { + return request<API.GetParkBountyApplyListOutputPageOutput>( + '/api/ParkBountyApply/GetCustmoerParkBountyApplyList', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 鏀垮姟绔�斿伐浣滃彴鏁版嵁鐪嬫澘 GET /api/ParkBountyApply/GetGoverDataBoard */ +export async function getGoverDataBoard(options?: API.RequestConfig) { + return request<API.GetGoverDataBoardOutput>('/api/ParkBountyApply/GetGoverDataBoard', { + method: 'GET', + ...(options || {}), + }); +} + /** 鑾峰彇宸茬敵鎶ヤ紒涓氬垪琛� 鍚彲閫夋嫨銆佸凡鍓旈櫎 POST /api/ParkBountyApply/GetHasApplyCompanyNameList */ export async function getHasApplyCompanyNameList( body: API.GetHasApplyCompanyNameListInput, @@ -65,12 +106,66 @@ ); } +/** 鏀垮姟绔�-鏉愭枡瀹℃牳-鐢虫姤璇︽儏 POST /api/ParkBountyApply/GetOutCheckParkBountyApplyDetailBaseInfo */ +export async function getOutCheckParkBountyApplyDetailBaseInfo( + body: API.GetParkBountyApplyInfoInput, + options?: API.RequestConfig +) { + return request<API.OutCheckParkBountyApplyBaseInfo>( + '/api/ParkBountyApply/GetOutCheckParkBountyApplyDetailBaseInfo', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 鏀垮姟绔�-鏉愭枡瀹℃牳-鐢虫姤浼佷笟鍚嶅崟 POST /api/ParkBountyApply/GetOutCheckParkBountyApplyDetailList */ +export async function getOutCheckParkBountyApplyDetailList( + body: API.GetParkBountyApplyInfoInput, + options?: API.RequestConfig +) { + return request<API.ParkBountyApplyDetailInfoPageOutput>( + '/api/ParkBountyApply/GetOutCheckParkBountyApplyDetailList', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 鏀垮姟绔�-鏉愭枡瀹℃牳-鑾峰彇澶栭儴瀹℃牳鍒楄〃 POST /api/ParkBountyApply/GetOutcheckParkBountyList */ +export async function getOutcheckParkBountyList( + body: API.GetParkBountyApplyListInput, + options?: API.RequestConfig +) { + return request<API.GetParkBountyApplyListOutputPageOutput>( + '/api/ParkBountyApply/GetOutcheckParkBountyList', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + /** 璺熻繘鍥尯鏌ヨ鍏徃鍒嗛〉鍒楄〃 POST /api/ParkBountyApply/GetParkApplyCompanyList */ export async function getParkApplyCompanyList( body: API.GetApplyCompanyListInput, options?: API.RequestConfig ) { - return request<API.GetParkApplyCompanyListOutputPageOutput>( + return request<API.ParkBountyApplyDetailInfoPageOutput>( '/api/ParkBountyApply/GetParkApplyCompanyList', { method: 'POST', @@ -96,6 +191,24 @@ 'Content-Type': 'application/json', }, data: body, + ...(options || {}), + } + ); +} + +/** 杩愯惀绔�-濂栧姳閲戝彂鏀�-鍏ヨ处-鑾峰彇鎵归噺鍏ヨ处涓湭鍏ヨ处鐨勪紒涓� GET /api/ParkBountyApply/GetParkBountyApplyBatchTransferEnterprise */ +export async function getParkBountyApplyBatchTransferEnterprise( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetParkBountyApplyBatchTransferEnterpriseParams, + options?: API.RequestConfig +) { + return request<API.GetCompanyNameListOutput[]>( + '/api/ParkBountyApply/GetParkBountyApplyBatchTransferEnterprise', + { + method: 'GET', + params: { + ...params, + }, ...(options || {}), } ); @@ -206,6 +319,42 @@ ); } +/** 杩愯惀绔�-濂栧姳杩涘嚭璐﹁鎯� POST /api/ParkBountyApply/GetParkBountyTradeDetailList */ +export async function getParkBountyTradeDetailList( + body: API.GetParkBountyTradeDetailByIdInput, + options?: API.RequestConfig +) { + return request<API.GetParkBountyTradeDetailOutputPageOutput>( + '/api/ParkBountyApply/GetParkBountyTradeDetailList', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 杩愯惀绔�-濂栧姳閲戜娇鐢ㄧ鐞嗗垪琛� POST /api/ParkBountyApply/GetParkBountyTradeList */ +export async function getParkBountyTradeList( + body: API.GetParkBountyTradeInput, + options?: API.RequestConfig +) { + return request<API.GetParkBountyTradeOutputPageOutput>( + '/api/ParkBountyApply/GetParkBountyTradeList', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + /** 杩愯惀绔�-鏀垮姟绔竴鍥尯瀹㈡埛绠$悊璇︽儏涓�浼佷笟鐢虫姤璁板綍 POST /api/ParkBountyApply/GetParkCustomerBountyApplyList */ export async function getParkCustomerBountyApplyList( body: API.QueryParkCustomerBountyApplyInput, @@ -275,6 +424,21 @@ }); } +/** 鏀垮姟绔�-鏉愭枡瀹℃牳-澶栭儴瀹℃牳 POST /api/ParkBountyApply/OutcheckParkBountyApply */ +export async function outcheckParkBountyApply( + body: API.OutcheckParkBountyApplyInput, + options?: API.RequestConfig +) { + return request<number>('/api/ParkBountyApply/OutcheckParkBountyApply', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 杩愯惀绔�斿叆璐�-鎵归噺鍏ヨ处 POST /api/ParkBountyApply/ParkBountyApplyBatchTransfer */ export async function parkBountyApplyBatchTransfer( body: API.ParkBountyApplyBatchTransferInput, @@ -305,6 +469,21 @@ }); } +/** 杩愯惀绔�斿鍔遍噾-鍑鸿处 POST /api/ParkBountyApply/ParkBountyApplyTrade */ +export async function parkBountyApplyTrade( + body: API.CreateParkBountyTradeInput, + options?: API.RequestConfig +) { + return request<number>('/api/ParkBountyApply/ParkBountyApplyTrade', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 杩愯惀绔�斿叆璐︹�斿鍔遍噾鍏ヨ处 POST /api/ParkBountyApply/ParkBountyApplyTransfer */ export async function parkBountyApplyTransfer( body: API.ParkBountyApplyTransferInput, -- Gitblit v1.9.1