From 22477adc4e931cd4a6925d8f0e867ef7aedc661d Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 05 八月 2025 17:34:42 +0800
Subject: [PATCH] fix: 修改功能模块

---
 src/services/api/auth.ts |   39 +++++++++++++++++++++++++++++++++++----
 1 files changed, 35 insertions(+), 4 deletions(-)

diff --git a/src/services/api/auth.ts b/src/services/api/auth.ts
index 1c77983..db28f67 100644
--- a/src/services/api/auth.ts
+++ b/src/services/api/auth.ts
@@ -2,12 +2,43 @@
 // @ts-ignore
 import { request } from '@/utils/request';
 
-/** 瀵嗙爜鐧诲綍 POST /api/user/auth/password-login */
-export async function authPasswordLogin(
-  body: API.AuthPasswordLoginCommand,
+/** 鑾峰彇闃块噷浜慜SS鎺堟潈淇℃伅 GET /api/user/auth/getAliyunOSSAcs */
+export async function getAliyunOSSAcs(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APIgetAliyunOSSAcsParams,
   options?: API.RequestConfig
 ) {
-  return request<API.AuthPasswordLoginCallback>('/api/user/auth/password-login', {
+  return request<API.GetAliyunOSSAcsQueryResult>('/api/user/auth/getAliyunOSSAcs', {
+    method: 'GET',
+    params: {
+      ...params,
+      request: undefined,
+      ...params['request'],
+    },
+    ...(options || {}),
+  });
+}
+
+/** 鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛鑿滃崟 GET /api/user/auth/getCurrentLogierMenus */
+export async function getCurrentLogierMenus(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APIgetCurrentLogierMenusParams,
+  options?: API.RequestConfig
+) {
+  return request<API.GetMenusQueryResultItem[]>('/api/user/auth/getCurrentLogierMenus', {
+    method: 'GET',
+    params: {
+      ...params,
+      request: undefined,
+      ...params['request'],
+    },
+    ...(options || {}),
+  });
+}
+
+/** 瀵嗙爜鐧诲綍 POST /api/user/auth/passwordLogin */
+export async function passwordLogin(body: API.PasswordLoginCommand, options?: API.RequestConfig) {
+  return request<API.PasswordLoginCommandCallback>('/api/user/auth/passwordLogin', {
     method: 'POST',
     headers: {
       'Content-Type': 'application/json-patch+json',

--
Gitblit v1.9.1