diff --git a/app/Services/OrderPrescriptionService.php b/app/Services/OrderPrescriptionService.php index 03c252c..fcfcdc3 100644 --- a/app/Services/OrderPrescriptionService.php +++ b/app/Services/OrderPrescriptionService.php @@ -253,7 +253,7 @@ class OrderPrescriptionService extends BaseService $image = $manager->make($prescription_image); - $fontPath = './runtime/ZiYuYongSongTi-2.ttf'; + $fontPath = './extend/Ca/ZiYuYongSongTi-2.ttf'; // 处方号 $image->text($order_prescription['prescription_code'], 1480, 540, function ($font) use($fontPath) { diff --git a/extend/Ca/ZiYuYongSongTi-2.ttf b/extend/Ca/ZiYuYongSongTi-2.ttf new file mode 100644 index 0000000..643a988 Binary files /dev/null and b/extend/Ca/ZiYuYongSongTi-2.ttf differ