Browse Source

Base64解码修改

andy 2 years ago
parent
commit
3b16242b41
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mainFactory/src/main/java/org/bfkj/utils/DataFormat.java

+ 1 - 1
mainFactory/src/main/java/org/bfkj/utils/DataFormat.java

@@ -57,7 +57,7 @@ public class DataFormat {
      * @return  原始数据
      */
     public static String base64DecoderToString(String source){
-        return Arrays.toString(Base64.getDecoder().decode(source));
+        return new String(Base64.getDecoder().decode(source));
     }
 
     /**