From ddd4358f41b0c176d84559040ad1bfbe5df90707 Mon Sep 17 00:00:00 2001 From: wangjinlei <751475802@qq.com> Date: Mon, 7 Feb 2022 09:41:28 +0800 Subject: [PATCH] 20201112 --- application/api/controller/Reviewer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/api/controller/Reviewer.php b/application/api/controller/Reviewer.php index 92bf33e..f5c68f9 100644 --- a/application/api/controller/Reviewer.php +++ b/application/api/controller/Reviewer.php @@ -836,7 +836,7 @@ class Reviewer extends Controller { $ziti = ROOT_PATH . 'public' . DS . 'zhengshu' . DS . 'siyuan.ttf'; $image = \think\Image::open($template); $image->text($journal_info['title'], $ziti, 70, '#000000', [1450, 950]) - ->text($reviewer_info['account'], $ziti, 60, '#000000', [1900, 1700]) + ->text($reviewer_info['realname']==''?$reviewer_info['account']:$reviewer_info['realname'], $ziti, 60, '#000000', [1900, 1700]) ->text('awarded ' . date('d, F, Y', $article_info['rtime'] == 0 ? $article_info['ctime'] : $article_info['rtime']) . ' to', $ziti, 60, '#000000', [1600, 1500]) ->text('In recognitioin of the review made for the journal', $ziti, 80, '#000000', [900, 1900]) ->text('The Editors of', $ziti, 65, '#000000', [230, 2345])