Browse Source

学习报告分享图片

zengwei 2 months ago
parent
commit
bd342bb17c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Api/Video/ExamReportShareImage.php

+ 1 - 1
app/Http/Controllers/Api/Video/ExamReportShareImage.php

@@ -150,7 +150,7 @@ class ExamReportShareImage extends Api
                 $font->align('left');
             });
 
-            // 给图片写入文字 正确率
+            // 给图片写入文字(正确率)
             $image->text($accuracy.'%', 100, 582, function (Font $font) use ($fontPath) {
                 $font->file($fontPath);        // 字体文件地址
                 $font->size(36);            // 字体大小