From 873d071bdb7959dc3c837b3ca6c6e9671e61e07c Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 29 十二月 2025 17:23:27 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobMiniApp
---
packages/services/apiV2/enterprise.ts | 227 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 227 insertions(+), 0 deletions(-)
diff --git a/packages/services/apiV2/enterprise.ts b/packages/services/apiV2/enterprise.ts
index 084e76e..90c4a39 100644
--- a/packages/services/apiV2/enterprise.ts
+++ b/packages/services/apiV2/enterprise.ts
@@ -2,6 +2,36 @@
// @ts-ignore
import { request } from '@/utils/request';
+/** 鍒犻櫎浼佷笟鍦板潃 DELETE /api/user/enterprise/deleteEnterpriseAddress */
+export async function deleteEnterpriseAddress(
+ body: API.DeleteEnterpriseAddressCommand,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/user/enterprise/deleteEnterpriseAddress', {
+ method: 'DELETE',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 绂佺敤浼佷笟 POST /api/user/enterprise/disabledEnterprise */
+export async function disabledEnterprise(
+ body: API.DisabledEnterpriseCommand,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/user/enterprise/disabledEnterprise', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
/** 鏌ヨ浼佷笟璇︽儏 GET /api/user/enterprise/getEnterprise */
export async function getEnterprise(
// 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
@@ -17,6 +47,39 @@
});
}
+/** 鏌ヨ浼佷笟鍦板潃璇︽儏 GET /api/user/enterprise/getEnterpriseAddress */
+export async function getEnterpriseAddress(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetEnterpriseAddressParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseAddressQueryResult>('/api/user/enterprise/getEnterpriseAddress', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鏌ヨ浼佷笟鍦板潃鍒嗛〉鍒楄〃 POST /api/user/enterprise/getEnterpriseAddresses */
+export async function getEnterpriseAddresses(
+ body: API.GetEnterpriseAddressesQuery,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseAddressesQueryResult>(
+ '/api/user/enterprise/getEnterpriseAddresses',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
/** 鏌ヨ浼佷笟鐢靛瓙绛鹃厤缃� GET /api/user/enterprise/getEnterpriseElectronSignSetting */
export async function getEnterpriseElectronSignSetting(
// 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
@@ -35,6 +98,24 @@
);
}
+/** 鏌ヨ浼佷笟淇濋櫓閰嶇疆 GET /api/user/enterprise/getEnterpriseInsuranceSetting */
+export async function getEnterpriseInsuranceSetting(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetEnterpriseInsuranceSettingParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseInsuranceSettingQueryResult>(
+ '/api/user/enterprise/getEnterpriseInsuranceSetting',
+ {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ }
+ );
+}
+
/** 鏌ヨ浼佷笟淇℃伅鍒嗛〉鍒楄〃鏁版嵁 POST /api/user/enterprise/getEnterprises */
export async function getEnterprises(body: API.GetEnterprisesQuery, options?: API.RequestConfig) {
return request<API.PagedListQueryResultGetEnterprisesQueryResultItem>(
@@ -68,6 +149,77 @@
);
}
+/** 鏌ヨ瀹㈡埛璇︽儏锛堢敳鏂逛紒涓氾級 GET /api/user/enterprise/getPartyAEnterprise */
+export async function getPartyAEnterprise(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetPartyAEnterpriseParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetPartyAEnterpriseQueryResult>('/api/user/enterprise/getPartyAEnterprise', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鏌ヨ瀹㈡埛绠$悊锛堢敳鏂瑰鎴凤級 POST /api/user/enterprise/getPartyAEnterprises */
+export async function getPartyAEnterprises(
+ body: API.GetPartyAEnterprisesQuery,
+ options?: API.RequestConfig
+) {
+ return request<API.PagedListQueryResultGetPartyAEnterprisesQueryResultItem>(
+ '/api/user/enterprise/getPartyAEnterprises',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鏌ヨ渚涘簲鍟嗙鐞� POST /api/user/enterprise/getSupplierEnterprises */
+export async function getSupplierEnterprises(
+ body: API.GetSupplierEnterprisesQuery,
+ options?: API.RequestConfig
+) {
+ return request<API.PagedListQueryResultGetSupplierEnterprisesQueryResultItem>(
+ '/api/user/enterprise/getSupplierEnterprises',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鏌ヨ渚涘簲鍟嗛�夋嫨鍣ㄦ暟鎹� GET /api/user/enterprise/getSupplierEnterpriseSelect */
+export async function getSupplierEnterpriseSelect(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetSupplierEnterpriseSelectParams,
+ options?: API.RequestConfig
+) {
+ return request<API.SelectOptionGuidGetSupplierEnterpriseSelectQueryOption[]>(
+ '/api/user/enterprise/getSupplierEnterpriseSelect',
+ {
+ method: 'GET',
+ params: {
+ ...params,
+ request: undefined,
+ ...params['request'],
+ },
+ ...(options || {}),
+ }
+ );
+}
+
/** 淇濆瓨浼佷笟 POST /api/user/enterprise/saveEnterprise */
export async function saveEnterprise(body: API.SaveEnterpriseCommand, options?: API.RequestConfig) {
return request<string>('/api/user/enterprise/saveEnterprise', {
@@ -80,6 +232,51 @@
});
}
+/** 淇濆瓨浼佷笟鍦板潃 POST /api/user/enterprise/saveEnterpriseAddress */
+export async function saveEnterpriseAddress(
+ body: API.SaveEnterpriseAddressCommand,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/user/enterprise/saveEnterpriseAddress', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 淇濆瓨浼佷笟璐圭敤 POST /api/user/enterprise/saveEnterpriseCost */
+export async function saveEnterpriseCost(
+ body: API.SaveEnterpriseCostCommand,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/user/enterprise/saveEnterpriseCost', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 娣诲姞瀹㈡埛浼佷笟锛堢敳鏂逛紒涓氾級 POST /api/user/enterprise/savePartyAEnterprise */
+export async function savePartyAEnterprise(
+ body: API.SavePartyAEnterpriseCommand,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/user/enterprise/savePartyAEnterprise', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
/** 璁剧疆浼佷笟鐢靛瓙绛鹃厤缃� PUT /api/user/enterprise/setEnterpriseElectronSignSetting */
export async function setEnterpriseElectronSignSetting(
body: API.SetEnterpriseElectronSignSettingCommand,
@@ -95,6 +292,36 @@
});
}
+/** 璁剧疆浼佷笟淇濋櫓閰嶇疆 PUT /api/user/enterprise/setEnterpriseInsuranceSetting */
+export async function setEnterpriseInsuranceSetting(
+ body: API.SetEnterpriseInsuranceSettingCommand,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/user/enterprise/setEnterpriseInsuranceSetting', {
+ method: 'PUT',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 璁剧疆浼佷笟鐧诲綍鐢ㄦ埛淇℃伅 PUT /api/user/enterprise/setEnterpriseLoginInfo */
+export async function setEnterpriseLoginInfo(
+ body: API.SetEnterpriseLoginInfoCommand,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/user/enterprise/setEnterpriseLoginInfo', {
+ method: 'PUT',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
/** 璁剧疆浼佷笟鐭俊閰嶇疆 PUT /api/user/enterprise/setEnterpriseSmsSetting */
export async function setEnterpriseSmsSetting(
body: API.SetEnterpriseSmsSettingCommand,
--
Gitblit v1.10.0