dever 3 年之前
父节点
当前提交
9ec8799e50
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      service/agent/lib/Agreement.php

+ 3 - 3
service/agent/lib/Agreement.php

@@ -346,13 +346,13 @@ class Agreement
         $cx = $pdf->GetX();
         $cy = $pdf->GetY();
 
-        $x = $cx - 40;
+        $x = $cx - 50;
         $y = $cy - 15;
 
         if ($info['sign']) {
-        	$info['sign'] = Dever::pic($info['sign']);
+        	$info['sign'] = $pic;
         	if (strstr($info['sign'], 'http')) {
-        		$pdf->Image($info['sign'], $x, $y, 15, 15);
+        		$pdf->Image($info['sign'], $x, $y, 20, 20);
         	}
         }