From 598d868e59daae4502c4f8fe4b4d3833a7e371be Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期三, 23 七月 2025 16:45:13 +0800 Subject: [PATCH] feat: 接口 --- src/services/api/ParkBountyApply.ts | 237 +++++++++++++++++++++++++++++++++------------------------- 1 files changed, 135 insertions(+), 102 deletions(-) diff --git a/src/services/api/ParkBountyApply.ts b/src/services/api/ParkBountyApply.ts index c5f1a4b..39dd756 100644 --- a/src/services/api/ParkBountyApply.ts +++ b/src/services/api/ParkBountyApply.ts @@ -17,6 +17,21 @@ }); } +/** 濂栧姳閲�-鍑鸿处-瀹℃壒 POST /api/ParkBountyApply/AuditParkBountyApplyTrade */ +export async function auditParkBountyApplyTrade( + body: API.AuditParkBountyTradeInput, + options?: API.RequestConfig +) { + return request<number>('/api/ParkBountyApply/AuditParkBountyApplyTrade', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 鎾ゅ洖鐢虫姤 GET /api/ParkBountyApply/CancelParkBountyApply */ export async function cancelParkBountyApply( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) @@ -107,12 +122,12 @@ }); } -/** 杩愯惀绔�-濂栧姳閲戠粺璁℃姤琛ㄥ鍑� POST /api/ParkBountyApply/ExportBonusStatistics */ -export async function exportBonusStatistics( - body: API.GetBonusStatisticsListInput, +/** 瀵煎嚭濂栧姳閲戠粺璁℃姤琛� POST /api/ParkBountyApply/ExportRewardStatistics */ +export async function exportRewardStatistics( + body: API.ExportRewardStatisticsInput, options?: API.RequestConfig ) { - return request<any>('/api/ParkBountyApply/ExportBonusStatistics', { + return request<any>('/api/ParkBountyApply/ExportRewardStatistics', { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -122,22 +137,19 @@ }); } -/** 杩愯惀绔�-濂栧姳閲戠粺璁℃姤琛� POST /api/ParkBountyApply/GetBonusStatisticsList */ -export async function getBonusStatisticsList( - body: API.GetBonusStatisticsListInput, +/** 濂栧姳閲�-鍑鸿处-璐㈠姟瀹℃壒 POST /api/ParkBountyApply/FinanceAuditParkBountyApplyTrade */ +export async function financeAuditParkBountyApplyTrade( + body: API.AuditParkBountyTradeInput, options?: API.RequestConfig ) { - return request<API.GetBonusStatisticsListOutputPageOutput>( - '/api/ParkBountyApply/GetBonusStatisticsList', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - } - ); + return request<number>('/api/ParkBountyApply/FinanceAuditParkBountyApplyTrade', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); } /** 鑾峰彇鍙�夋嫨鍏徃鍜屽凡鍓旈櫎鍏徃 POST /api/ParkBountyApply/GetCompanyNameList */ @@ -162,24 +174,6 @@ ) { return request<API.GetParkBountyApplyListOutputPageOutput>( '/api/ParkBountyApply/GetCustmoerParkBountyApplyList', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - } - ); -} - -/** 濂栧姳閲戠粺璁℃姤琛�--鑾峰彇浼佷笟娑堣垂鏄庣粏鍒楄〃 POST /api/ParkBountyApply/GetEnterpriseConsumptionList */ -export async function getEnterpriseConsumptionList( - body: API.GetRewardsDetailsInput, - options?: API.RequestConfig -) { - return request<API.GetEnterpriseConsumptionListOutputPageOutput>( - '/api/ParkBountyApply/GetEnterpriseConsumptionList', { method: 'POST', headers: { @@ -324,60 +318,6 @@ params: { ...params, }, - ...(options || {}), - } - ); -} - -/** 杩愯惀绔�-濂栧姳閲戣幏鍙栦紒涓氬厖鍊兼槑缁嗗垪琛� POST /api/ParkBountyApply/GetEnterpriseRechargeList */ -export async function getEnterpriseRechargeList( - body: API.GetRewardsDetailsInput, - options?: API.RequestConfig -) { - return request<API.GetEnterpriseRechargeListOutputPageOutput>( - '/api/ParkBountyApply/GetEnterpriseRechargeList', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - } - ); -} - -/** 濂栧姳閲戠粺璁℃姤琛�--鑾峰彇鎻愮幇鏄庣粏鍒楄〃 POST /api/ParkBountyApply/GetEnterpriseWithdrawList */ -export async function getEnterpriseWithdrawList( - body: API.GetRewardsDetailsInput, - options?: API.RequestConfig -) { - return request<API.GetEnterpriseDrawWithOutputPageOutput>( - '/api/ParkBountyApply/GetEnterpriseWithdrawList', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, - ...(options || {}), - } - ); -} - -/** 濂栧姳閲戠粺璁℃姤琛�--鑾峰彇璐㈡斂鎷ㄤ粯鍒楄〃 POST /api/ParkBountyApply/GetFiscalAllocationList */ -export async function getFiscalAllocationList( - body: API.GetRewardsDetailsInput, - options?: API.RequestConfig -) { - return request<API.GetFiscalAllocationOutputPageOutput>( - '/api/ParkBountyApply/GetFiscalAllocationList', - { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - data: body, ...(options || {}), } ); @@ -766,13 +706,28 @@ ); } -/** 濂栧姳閲戠粺璁℃姤琛�--鑾峰彇骞冲彴鎷ㄤ粯鍒楄〃 POST /api/ParkBountyApply/GetPlatformAllocationList */ -export async function getPlatformAllocationList( - body: API.GetRewardsDetailsInput, +/** 鏌ヨ濂栧姳閲戠粺璁℃姤琛� POST /api/ParkBountyApply/GetRewardStatistics */ +export async function getRewardStatistics( + body: API.GetRewardStatisticsInput, options?: API.RequestConfig ) { - return request<API.GetPlatformAllocationOutputPageOutput>( - '/api/ParkBountyApply/GetPlatformAllocationList', + return request<API.GetRewardStatisticsDtoPageOutput>('/api/ParkBountyApply/GetRewardStatistics', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鏌ヨ濂栧姳閲戠粺璁℃姤琛�-閲戦鏄庣粏 POST /api/ParkBountyApply/GetRewardStatisticsDetail */ +export async function getRewardStatisticsDetail( + body: API.GetRewardStatisticsDetailInput, + options?: API.RequestConfig +) { + return request<API.GetRewardStatisticsDetailDtoPageOutput>( + '/api/ParkBountyApply/GetRewardStatisticsDetail', { method: 'POST', headers: { @@ -784,12 +739,30 @@ ); } -/** 濂栧姳閲戞姤琛�--浣欓鍒楄〃 POST /api/ParkBountyApply/GetRemainAmountList */ -export async function getRemainAmountList( - body: API.GetRewardsDetailsInput, +/** 瀵煎叆濂栧姳閲戠敵鎶ヨ储鏀�/骞冲彴鎷ㄤ粯鎬婚 POST /api/ParkBountyApply/ImportParkBountyAppalyAmount */ +export async function importParkBountyAppalyAmount( + body: API.ImportParkBountyAppalyAmountInput, options?: API.RequestConfig ) { - return request<API.GetRemainAmountOutput>('/api/ParkBountyApply/GetRemainAmountList', { + return request<API.ImportBountyApplyDataOutput>( + '/api/ParkBountyApply/ImportParkBountyAppalyAmount', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + +/** 瀵煎叆濂栧姳閲戝叆璐� POST /api/ParkBountyApply/ImportParkBountyData */ +export async function importParkBountyData( + body: API.ImportBountyApplyDataInput, + options?: API.RequestConfig +) { + return request<API.ImportBountyApplyDataOutput>('/api/ParkBountyApply/ImportParkBountyData', { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -799,12 +772,12 @@ }); } -/** 瀵煎叆濂栧姳閲戝叆璐� POST /api/ParkBountyApply/ImportParkBountyData */ -export async function importParkBountyData( +/** 瀵煎叆鐧昏 POST /api/ParkBountyApply/ImportParkBountyDataReg */ +export async function importParkBountyDataReg( body: API.ImportBountyApplyDataInput, options?: API.RequestConfig ) { - return request<API.ImportBountyApplyDataOutput>('/api/ParkBountyApply/ImportParkBountyData', { + return request<API.ImportBountyApplyDataOutput>('/api/ParkBountyApply/ImportParkBountyDataReg', { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -859,12 +832,42 @@ }); } +/** 鎵归噺璐㈡斂鎷ㄤ粯鐧昏 POST /api/ParkBountyApply/ParkBountyApplyBatchFinanceReg */ +export async function parkBountyApplyBatchFinanceReg( + body: API.ParkBountyApplyBatchFinanceInput, + options?: API.RequestConfig +) { + return request<number>('/api/ParkBountyApply/ParkBountyApplyBatchFinanceReg', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 杩愯惀绔�斿叆璐�-鎵归噺鍏ヨ处 POST /api/ParkBountyApply/ParkBountyApplyBatchTransfer */ export async function parkBountyApplyBatchTransfer( body: API.ParkBountyApplyBatchTransferInput, options?: API.RequestConfig ) { return request<number>('/api/ParkBountyApply/ParkBountyApplyBatchTransfer', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鎵归噺骞冲彴鎷ㄤ粯鐧昏 POST /api/ParkBountyApply/ParkBountyApplyBatchTransferReg */ +export async function parkBountyApplyBatchTransferReg( + body: API.ParkBountyApplyBatchTransferInput, + options?: API.RequestConfig +) { + return request<number>('/api/ParkBountyApply/ParkBountyApplyBatchTransferReg', { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -925,6 +928,21 @@ options?: API.RequestConfig ) { return request<number>('/api/ParkBountyApply/ParkBountyApplyFinanceFile', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 璐㈡斂鎷ㄤ粯鐧昏 POST /api/ParkBountyApply/ParkBountyApplyFinanceReg */ +export async function parkBountyApplyFinanceReg( + body: API.ParkBountyApplyRechargeInput, + options?: API.RequestConfig +) { + return request<number>('/api/ParkBountyApply/ParkBountyApplyFinanceReg', { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -1009,6 +1027,21 @@ }); } +/** 骞冲彴鎷ㄤ粯鐧昏 POST /api/ParkBountyApply/ParkBountyApplyTransferReg */ +export async function parkBountyApplyTransferReg( + body: API.ParkBountyApplyTransferInput, + options?: API.RequestConfig +) { + return request<number>('/api/ParkBountyApply/ParkBountyApplyTransferReg', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 淇濆瓨濂栭噾鍒嗛厤琛ㄣ�佸鍔遍噾姹囨�昏〃銆佸鍔辨�婚 POST /api/ParkBountyApply/SaveParkBountyApplyCollectFile */ export async function saveParkBountyApplyCollectFile( body: API.SaveParkBountyApplyCollectFileInput, -- Gitblit v1.9.1