From dbebb8c83128e379bb24d8d7c1bf0838d7c5ebdc Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 20 十一月 2025 15:03:42 +0800
Subject: [PATCH] fix: s

---
 src/services/api/UserRole.ts |   75 +++++++++++++++++++++++++++++++++++++
 1 files changed, 75 insertions(+), 0 deletions(-)

diff --git a/src/services/api/UserRole.ts b/src/services/api/UserRole.ts
index 309f2fa..e4e4376 100644
--- a/src/services/api/UserRole.ts
+++ b/src/services/api/UserRole.ts
@@ -17,6 +17,36 @@
   });
 }
 
+/** 鏀垮姟绔竴绯荤粺閰嶇疆涓�鍒涘缓鏀垮姟绔敤鎴� POST /api/UserRole/CreateGovermentClientUser */
+export async function createGovermentClientUser(
+  body: API.CreateGoverUserInput,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/UserRole/CreateGovermentClientUser', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 鍒涘缓鏀垮姟绔鐞嗗瓙璐︽埛 POST /api/UserRole/CreateGovermentSubAccounts */
+export async function createGovermentSubAccounts(
+  body: API.CreateGovermentSubAccounts,
+  options?: API.RequestConfig
+) {
+  return request<string>('/api/UserRole/CreateGovermentSubAccounts', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
 /** 鏂板瑙掕壊 POST /api/UserRole/CreateRole */
 export async function createRole(body: API.CreateBaseRoleInput, options?: API.RequestConfig) {
   return request<string>('/api/UserRole/CreateRole', {
@@ -89,6 +119,21 @@
   });
 }
 
+/** 鏀垮姟绔鐞嗗瓙璐︽埛鍒楄〃 POST /api/UserRole/GetGovermentSubAccounts */
+export async function getGovermentSubAccounts(
+  body: API.GetBackClientUsersInput,
+  options?: API.RequestConfig
+) {
+  return request<API.UserDtoPageOutput>('/api/UserRole/GetGovermentSubAccounts', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
 /** 瑙掕壊鍒楄〃 POST /api/UserRole/GetRoles */
 export async function getRoles(body: API.GetRolesInput, options?: API.RequestConfig) {
   return request<API.RoleInfoPageOutput>('/api/UserRole/GetRoles', {
@@ -131,6 +176,36 @@
   });
 }
 
+/** 鏀垮姟绔竴绯荤粺閰嶇疆涓�缂栬緫鏀垮姟绔处鎴� POST /api/UserRole/UpdateGovermentClientUser */
+export async function updateGovermentClientUser(
+  body: API.UpdateGovermentClientUserInput,
+  options?: API.RequestConfig
+) {
+  return request<number>('/api/UserRole/UpdateGovermentClientUser', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 缂栬緫鏀垮姟绔鐞嗗瓙璐︽埛 POST /api/UserRole/UpdateGovermentSubAccounts */
+export async function updateGovermentSubAccounts(
+  body: API.UpdateGovermentClientUserInput,
+  options?: API.RequestConfig
+) {
+  return request<number>('/api/UserRole/UpdateGovermentSubAccounts', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
 /** 瑙掕壊缂栬緫 POST /api/UserRole/UpdateRole */
 export async function updateRole(body: API.CreateOrUpdateRoleInput, options?: API.RequestConfig) {
   return request<number>('/api/UserRole/UpdateRole', {

--
Gitblit v1.9.1