edit-pdftoimg-api_url

This commit is contained in:
lccsw
2022-02-24 20:14:24 +08:00
parent 800b0e998d
commit 454e9e031c
+2 -1
View File
@@ -12,7 +12,8 @@ require_once COMMPATH.'/third_party/TCPDF/tcpdf.php';
class Pdf {
private $pdf2img_url = 'https://open.xiaoyu.com/jar/pdf2img/index';
//private $pdf2img_url = 'https://open.xiaoyu.com/jar/pdf2img/index';
private $pdf2img_url = 'https://liche-api-dev.xiaoyu.com/jar/pdf2img';
public function __construct($isdev=''){
if (false !== strpos($_SERVER['HTTP_HOST'], 'dev') || $isdev) {//dev
$this->pdf2img_url = 'https://liche-api-dev.xiaoyu.com/jar/pdf2img';