|
@@ -342,7 +342,7 @@ function http_post_json($url, $jsonStr,$token_res)
|
|
|
function pdfCurl($file_name)
|
|
|
{
|
|
|
$ch = curl_init();
|
|
|
- curl_setopt($ch, CURLOPT_URL, 'https://pdf.gyxqcdz.com:9999/v1/pdf/upload');
|
|
|
+ curl_setopt($ch, CURLOPT_URL, 'https://pdf.gyxqcdz.com/v1/pdf/upload');
|
|
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
|
|
curl_setopt($ch, CURLOPT_POST, 1);
|
|
|
// curl_setopt($ch, CURLOPT_POSTFIELDS, 'file=@'.$file_name);
|