得到字符串->字节数组
string.getBytes()=> bytes=bytearray(strtext,'utf-8')

字节数组压缩方法

ZLibUtils.compress()=>zlib.compress(bytes)

base64方法

Base64.Encoder encoder = Base64.getEncoder();
String data = encoder.encodeToString(bytes);

时间戳方法

System.currentTimeMillis()=> t = time.time() currenttime=str(round(t * 1000))#毫秒级时间戳