赞
踩
调用第三方接口需要将参数Base64位加密
Base64Util.encode(tPassengerApplicable.getName().getBytes())); 这样中文加密会乱码
Base64Util.encode(tPassengerApplicable.getName().getBytes(“UTF-8”)); 通过指定编码格式即可;