From aaf48b095f3f5bf379adce3644dfd96f8d8a49d8 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期四, 19 六月 2025 17:04:21 +0800
Subject: [PATCH] git ch

---
 server/service/src/main/java/com/doumee/core/utils/aliyun/ALiYunUtil.java |   36 +++++++++++++++++++++++++-----------
 1 files changed, 25 insertions(+), 11 deletions(-)

diff --git a/server/service/src/main/java/com/doumee/core/utils/aliyun/ALiYunUtil.java b/server/service/src/main/java/com/doumee/core/utils/aliyun/ALiYunUtil.java
index dfd461c..8e465b6 100644
--- a/server/service/src/main/java/com/doumee/core/utils/aliyun/ALiYunUtil.java
+++ b/server/service/src/main/java/com/doumee/core/utils/aliyun/ALiYunUtil.java
@@ -1,9 +1,14 @@
 package com.doumee.core.utils.aliyun;
 
+import com.aliyun.auth.credentials.Credential;
+import com.aliyun.auth.credentials.provider.StaticCredentialProvider;
 import com.aliyun.oss.ClientException;
 import com.aliyun.oss.OSSClient;
 import com.aliyun.oss.OSSException;
 import com.aliyun.oss.model.*;
+import com.aliyun.sdk.service.cloudauth20190307.AsyncClient;
+import com.aliyun.sdk.service.cloudauth20190307.models.Id2MetaVerifyRequest;
+import com.aliyun.sdk.service.cloudauth20190307.models.Id2MetaVerifyResponse;
 import com.doumee.core.utils.FileDigest;
 import java.io.File;
 import java.io.FileInputStream;
@@ -14,6 +19,10 @@
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Map;
+import java.util.concurrent.CompletableFuture;
+
+import com.google.gson.Gson;
+import darabonba.core.client.ClientOverrideConfiguration;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.web.multipart.MultipartFile;
 
@@ -435,17 +444,17 @@
         return filename;
     }
 
-    public static void main(String[] args) throws OSSException,
-            ClientException, IOException {
-        ALiYunUtil aLiYunUtil = new ALiYunUtil("", "uc4nnpsqep1i9fijqr37nokh",
-                "/rp41xCx/XdGEVCptdH6v7xpc9w=");
-        // aLiYunUtil.uploadObject("pongto", "work/li2.txt", "D://鍝�.txt",
-        // ".html,.html text/html");D://瑁呮満杞欢/鍔炲叕瀛︿範
-        // aLiYunUtil.partUploadObject("pongto", "work/ps.exe",
-        // "D://瑁呮満杞欢/鍔炲叕瀛︿範/Adobe_Illustrator_CS6_XiaZaiBa.exe",
-        // ".html,.html text/html");
-        // aLiYunUtil.deleteBucket("pongto");
-    }
+//    public static void main(String[] args) throws OSSException,
+//            ClientException, IOException {
+//        ALiYunUtil aLiYunUtil = new ALiYunUtil("", "uc4nnpsqep1i9fijqr37nokh",
+//                "/rp41xCx/XdGEVCptdH6v7xpc9w=");
+//        // aLiYunUtil.uploadObject("pongto", "work/li2.txt", "D://鍝�.txt",
+//        // ".html,.html text/html");D://瑁呮満杞欢/鍔炲叕瀛︿範
+//        // aLiYunUtil.partUploadObject("pongto", "work/ps.exe",
+//        // "D://瑁呮満杞欢/鍔炲叕瀛︿範/Adobe_Illustrator_CS6_XiaZaiBa.exe",
+//        // ".html,.html text/html");
+//        // aLiYunUtil.deleteBucket("pongto");
+//    }
 
     /**
      * 涓婁紶缃戠粶鏂囦欢
@@ -557,4 +566,9 @@
     }
 
 
+
+
+
+
+
 }

--
Gitblit v1.9.3