提交的内容

This commit is contained in:
2025-05-12 15:45:02 +08:00
parent 629c4750da
commit b48c692775
3043 changed files with 34732 additions and 60810 deletions

View File

@ -8,6 +8,7 @@ class BlindWatermarkTemplate extends ImageTemplate {
private $image;
private $text;
private $level;
private $version;
public function __construct() {
parent::__construct();
@ -16,6 +17,7 @@ class BlindWatermarkTemplate extends ImageTemplate {
$this->image = "";
$this->text = "";
$this->level = "";
$this->version = "";
}
@ -38,6 +40,9 @@ class BlindWatermarkTemplate extends ImageTemplate {
public function setLevel($value) {
$this->level = "/level/" . $value;
}
public function setVersion($value) {
$this->version = "/version/" . $value;
}
public function getType() {
return $this->type;
@ -55,6 +60,10 @@ class BlindWatermarkTemplate extends ImageTemplate {
return $this->level;
}
public function getVersion() {
return $this->version;
}
public function queryString() {
$head = "watermark/$this->markType";
@ -71,6 +80,9 @@ class BlindWatermarkTemplate extends ImageTemplate {
if($this->level){
$res .= $this->level;
}
if($this->version){
$res .= $this->version;
}
if($res){
$res = $head . $res;
}
@ -83,5 +95,6 @@ class BlindWatermarkTemplate extends ImageTemplate {
$this->image = "";
$this->text = "";
$this->level = "";
$this->version = "";
}
}