WANG 6 年之前
父節點
當前提交
74e0356558

+ 1 - 1
examcloud-exchange-inner-service/src/main/java/cn/com/qmth/examcloud/exchange/inner/service/upyun/UpYunClient.java

@@ -104,7 +104,7 @@ public class UpYunClient {
 		this.md5Password = md5(password);
 
 		base64Auth = "Basic " + org.apache.commons.codec.binary.Base64
-				.encodeBase64String((userName + password).getBytes());
+				.encodeBase64String((userName + ":" + password).getBytes());
 		unsafe = true;
 
 		testUrl = PropertiesUtil.getString("$upyun.testUrl");