diff --git a/application/controllers/info_amp.php b/application/controllers/info_amp.php index 7fe8ca5f..0d84678b 100644 --- a/application/controllers/info_amp.php +++ b/application/controllers/info_amp.php @@ -455,7 +455,7 @@ class Info_amp extends CI_Controller $test_host = ''; } $command = $yarnbin.$docx_path.' --output-dir='.$img_dir; - exec($command, $rs); + exec($command, $rs, $st); //图片处理 $scan_img = scandir($img_dir); $tmp = ''; @@ -479,7 +479,7 @@ class Info_amp extends CI_Controller echo(json_encode(array( 'status' => 'error', 'html' => $command.' > '.$html_parh, - 'rs' => print_r($rs, true) + 'rs' => print_r($rs, true).' > '.$st ))); return; }