|
|
|
@ -1973,7 +1973,7 @@ class OrdersController extends CommonController
|
|
|
|
$base64Image = 'data:image/' . $options['format'] . ';base64,' . base64_encode($imageContent);
|
|
|
|
$base64Image = 'data:image/' . $options['format'] . ';base64,' . base64_encode($imageContent);
|
|
|
|
|
|
|
|
|
|
|
|
// 4. 删除临时文件(清理资源)
|
|
|
|
// 4. 删除临时文件(清理资源)
|
|
|
|
unlink($tempPath);
|
|
|
|
// unlink($tempPath);
|
|
|
|
return response()->json([
|
|
|
|
return response()->json([
|
|
|
|
"errorcode" => "200",
|
|
|
|
"errorcode" => "200",
|
|
|
|
"errormsg" => "success",
|
|
|
|
"errormsg" => "success",
|
|
|
|
|