将json字符串转化成Base64编码(重点)

Base64.encode(json)

String base=Base64.decode(jsonResult).toString();

包使用的是   import cn.hutool.core.codec.Base64;

猜你喜欢

转载自blog.csdn.net/Richard_666/article/details/88797547