摘要: 1.直接将图片路径传入下面该方法就可以了//将图片转成base64public function imgToBase64($img_file){ $img_base64 = ''; if ($img_file){ $img_file = APP_PUBLIC.$img_file; if (file_ 阅读全文
posted @ 2019-08-13 17:37 青铜王 阅读(2885) 评论(0) 推荐(0)