edit-api-con
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user