|
@@ -171,7 +171,7 @@ class CosService |
|
@@ -171,7 +171,7 @@ class CosService |
|
171
|
public function addFieldImage($cdnUrl = '',$data = [],$is_image = true){
|
171
|
public function addFieldImage($cdnUrl = '',$data = [],$is_image = true){
|
|
172
|
if($is_image){
|
172
|
if($is_image){
|
|
173
|
$param = [
|
173
|
$param = [
|
|
174
|
- $data['characters'] ?? 'image/'.urlencode(base64_encode("{$data['image']}")),//文字水印名称
|
174
|
+ $data['image'] ?? 'image/'.urlencode(base64_encode("{$data['image']}")),//文字水印名称
|
|
175
|
$data['position'] ?? 'gravity/SouthEast',
|
175
|
$data['position'] ?? 'gravity/SouthEast',
|
|
176
|
$data['dx'] ?? 'dx/10/dy/10',
|
176
|
$data['dx'] ?? 'dx/10/dy/10',
|
|
177
|
$data['font'] ?? 'font/5bCP6aOe',//默认宋体
|
177
|
$data['font'] ?? 'font/5bCP6aOe',//默认宋体
|