首页 > 技术文章 > 接口返回图片信息乱码问题

chentailin 2018-08-31 11:13 原文

$data='image/png;base64,'.base64_encode($res);

echo '<img src="data:'.$data.'">';

推荐阅读