From 915d80766dd8e0157e9b9510b3634ed758eb5c5a Mon Sep 17 00:00:00 2001
From: Codex Assistant <codex@example.com>
Date: 星期日, 05 十月 2025 14:45:58 +0800
Subject: [PATCH] feat: 新增员工审核入口与审核页面

---
 web/src/utils/cos-simple.ts |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/web/src/utils/cos-simple.ts b/web/src/utils/cos-simple.ts
index 9190707..24a983d 100644
--- a/web/src/utils/cos-simple.ts
+++ b/web/src/utils/cos-simple.ts
@@ -38,16 +38,11 @@
  */
 export const uploadToCOS = async (file: File): Promise<string> => {
   try {
-    console.log('寮�濮嬭幏鍙栦笂浼犲嚟璇�...')
-    
     // 鑾峰彇涓婁紶鍑瘉
     const credentials = await getUploadCredentials()
-    console.log('鑾峰彇鍒颁笂浼犲嚟璇�:', credentials)
     
     // 浣跨敤棰勭鍚峌RL
     const uploadUrl = credentials.presignedUrl
-    
-    console.log('寮�濮嬩笂浼犳枃浠跺埌:', uploadUrl)
     
     // 浣跨敤棰勭鍚峌RL涓婁紶鏂囦欢
     const uploadResponse = await axios.put(uploadUrl, file, {
@@ -57,7 +52,6 @@
     })
     
     if (uploadResponse.status === 200) {
-      console.log('鏂囦欢涓婁紶鎴愬姛!')
       // 杩斿洖鏂囦欢鐨勮闂甎RL锛堝幓鎺夋煡璇㈠弬鏁帮級
       const fileUrl = `https://${credentials.bucket}.cos.${credentials.region}.myqcloud.com/${credentials.key}`
       return fileUrl
@@ -66,7 +60,6 @@
     }
     
   } catch (error) {
-    console.error('涓婁紶鏂囦欢澶辫触:', error)
     throw error
   }
 }
\ No newline at end of file

--
Gitblit v1.8.0