浏览代码

水印添加审批号

yeshihao 1 年之前
父节点
当前提交
f48ed24466
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      dyu/application/store/model/CertificateApply.php

+ 2 - 2
dyu/application/store/model/CertificateApply.php

@@ -115,7 +115,7 @@ class CertificateApply extends CertificateApplyModel
 				return false;
 			}
 			foreach ($certificateList as $certificate) {
-				$water  = $this->watermark ?: $this->order_no;
+				$water  = $this->watermark ?: '审批号:'.$this->order_no;
 				$water2 = '';
 				if ($this['indate']) {
 					$water2 = $data['use_data'] ? '有效期至'.$this['indate'] : '';
@@ -181,7 +181,7 @@ class CertificateApply extends CertificateApplyModel
 			return false;
 		}
 		foreach ($certificateList as $certificate) {
-			$water  = $this->watermark ?: $this->order_no;
+			$water  = $this->watermark ?: '审批号:'.$this->order_no;
 			$water2 = '';
 			if ($this['indate']) {
 				$water2 = $this->use_date ? '有效期至'.$this->indate : '';