zhanglinxin 1 年之前
父节点
当前提交
024546b669
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/common/service/ApproveInfoService.php

+ 1 - 1
application/common/service/ApproveInfoService.php

@@ -1494,7 +1494,7 @@ class ApproveInfoService
         $pdf = new \TCPDF();
         $pdf = self::setPdfAttr($pdf);
         self::exportPdf($pdf,$html,$realpath);
-        return ['url' => $realpath, 'fullurl' => 'http://'.$_SERVER['HTTP_HOST'].$realpath];
+        return ['url' => $realpath, 'fullurl' => 'https://'.$_SERVER['HTTP_HOST'].$realpath];
     }
 
     // 获取html