正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -456,7 +456,7 @@ class Index extends Api | @@ -456,7 +456,7 @@ class Index extends Api | ||
456 | $box2_minx += ($image->width() - $w) / 2; | 456 | $box2_minx += ($image->width() - $w) / 2; |
457 | $image->water($job_cover,[129,120]) | 457 | $image->water($job_cover,[129,120]) |
458 | ->text($job['job_name'],$path_ttf,$size,'#020202',[$box1_minx,215]) | 458 | ->text($job['job_name'],$path_ttf,$size,'#020202',[$box1_minx,215]) |
459 | - // ->water($qrcode,[111,262]) | 459 | + ->water($qrcode,[111,262]) |
460 | ->text($last_text,$path_ttf,$size,'#969799',[$box2_minx,410]) | 460 | ->text($last_text,$path_ttf,$size,'#969799',[$box2_minx,410]) |
461 | ->save($filename); | 461 | ->save($filename); |
462 | $url = request()->domain().'/'.$filename; | 462 | $url = request()->domain().'/'.$filename; |
@@ -723,7 +723,7 @@ class User extends Api | @@ -723,7 +723,7 @@ class User extends Api | ||
723 | $box1_minx += ($image->width() - $w) / 2; | 723 | $box1_minx += ($image->width() - $w) / 2; |
724 | $image->water($avatar,[156,52]) | 724 | $image->water($avatar,[156,52]) |
725 | ->text($nickname,$path_ttf,$size,'#020202',[$box1_minx,131]) | 725 | ->text($nickname,$path_ttf,$size,'#020202',[$box1_minx,131]) |
726 | - // ->water($qrcode,[103,181]) | 726 | + ->water($qrcode,[103,181]) |
727 | ->save($filename); | 727 | ->save($filename); |
728 | $url = request()->domain().'/'.$filename; | 728 | $url = request()->domain().'/'.$filename; |
729 | $this->success('成功',compact('url')); | 729 | $this->success('成功',compact('url')); |
-
请 注册 或 登录 后发表评论