Commit 1f876e54 authored by 技术部-任文超's avatar 技术部-任文超

Test

parent 449cacfe
...@@ -2,6 +2,8 @@ package common; ...@@ -2,6 +2,8 @@ package common;
import java.sql.Timestamp; import java.sql.Timestamp;
import org.apache.commons.codec.binary.Base64;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.serializer.SerializerFeature; import com.alibaba.fastjson.serializer.SerializerFeature;
...@@ -77,4 +79,10 @@ public class JsonTest { ...@@ -77,4 +79,10 @@ public class JsonTest {
} }
} }
@Test
public void test() throws Exception{
String extData = "eyJyZWRpcmVjdCI6ImxvY2FsIiwicmVnaXN0ZXJGcm9tIjoyMjJ9";
System.out.println(new String(Base64.decodeBase64(extData), "UTF-8"));
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment