edit-api-con

This commit is contained in:
lccsw
2021-07-28 20:37:38 +08:00
parent d97403b389
commit 03ec9b0bfc
+1 -1
View File
@@ -101,7 +101,7 @@ class Contract extends Wxapp{
//pdf转图片
$pdf_url = http_host_com('api').'/'.$row['file'];
$this->load->library('pdf');
$pdf = new Pdf(true);
$pdf = new Pdf();
$imgs = $pdf->pdf2img($pdf_url);
if(!$imgs){
throw new Exception('签名失败,图片转换失败', API_CODE_INVILD_PARAM);