比对了返回的字符串与本地测试生成的字符串,发现前者带有回车换行符, 谷歌发现: The encoded output stream must be represented in lines of no more than 76 characters each. Base64一行不能超过76字符,超过则添加回车换行符。
情境用java请求小程序带参数二维码接口直接返回File对象直接转Base64字符串在前端无法解析思路比对了返回的字符串与本地测试生成的字符串,发现前者带有回车换行符,谷歌发现:The encoded output stream must be represented in lines of no more than 76 characters each.Base64一行不能超过76字...