|
|
@@ -206,34 +206,32 @@ class UserBillController
|
|
|
array(
|
|
|
'url' => $urlCode, //二维码资源
|
|
|
'stream' => 0,
|
|
|
- 'left' => 80, // 调整到左上角位置
|
|
|
- 'top' => 80, // 调整到左上角位置
|
|
|
+ 'left' => 114,
|
|
|
+ 'top' => 790,
|
|
|
'right' => 0,
|
|
|
'bottom' => 0,
|
|
|
- 'width' => 80, // 缩小二维码尺寸
|
|
|
- 'height' => 80, // 缩小二维码尺寸
|
|
|
+ 'width' => 120,
|
|
|
+ 'height' => 120,
|
|
|
'opacity' => 100
|
|
|
)
|
|
|
),
|
|
|
'text' => array(
|
|
|
- // 移除"邀请好友"标题
|
|
|
- // 保留用户信息文字,但调整位置
|
|
|
array(
|
|
|
'text' => $user['nickname'],
|
|
|
'left' => 250,
|
|
|
'top' => 840,
|
|
|
- 'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'],
|
|
|
- 'fontSize' => 16,
|
|
|
- 'fontColor' => '40,40,40',
|
|
|
+ 'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'], //字体文件
|
|
|
+ 'fontSize' => 16, //字号
|
|
|
+ 'fontColor' => '40,40,40', //字体颜色
|
|
|
'angle' => 0,
|
|
|
),
|
|
|
array(
|
|
|
'text' => '邀请您加入' . sys_config('site_name'),
|
|
|
'left' => 250,
|
|
|
'top' => 880,
|
|
|
- 'fontPath' => $rootPath . 'public' . DS . $filelink['Normal'],
|
|
|
- 'fontSize' => 16,
|
|
|
- 'fontColor' => '40,40,40',
|
|
|
+ 'fontPath' => $rootPath . 'public' . DS . $filelink['Normal'], //字体文件
|
|
|
+ 'fontSize' => 16, //字号
|
|
|
+ 'fontColor' => '40,40,40', //字体颜色
|
|
|
'angle' => 0,
|
|
|
)
|
|
|
),
|
|
|
@@ -294,33 +292,34 @@ class UserBillController
|
|
|
array(
|
|
|
'url' => $urlCode, //二维码资源
|
|
|
'stream' => 0,
|
|
|
- 'left' => 80, // 调整到左上角位置(根据新参考图)
|
|
|
- 'top' => 80, // 调整到左上角位置(根据新参考图)
|
|
|
+ 'left' => 164,
|
|
|
+ 'top' => 570,
|
|
|
'right' => 0,
|
|
|
'bottom' => 0,
|
|
|
- 'width' => 80, // 缩小二维码尺寸(根据新参考图)
|
|
|
- 'height' => 80, // 缩小二维码尺寸(根据新参考图)
|
|
|
+ 'width' => 420,
|
|
|
+ 'height' => 420,
|
|
|
'opacity' => 100
|
|
|
)
|
|
|
),
|
|
|
'text' => array(
|
|
|
- // 移除所有文字,保持简洁
|
|
|
array(
|
|
|
- 'text' => '', // 空字符串,不显示用户名
|
|
|
- 'left' => 0,
|
|
|
- 'top' => 0,
|
|
|
- 'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'],
|
|
|
- 'fontSize' => 1, // 极小字体,几乎不可见
|
|
|
- 'fontColor' => '255,255,255', // 白色文字,与背景融合
|
|
|
+// 'text' => $user['nickname'],
|
|
|
+ 'text' => '',
|
|
|
+ 'left' => 250,
|
|
|
+ 'top' => 840,
|
|
|
+ 'fontPath' => $rootPath . 'public' . DS . $filelink['Bold'], //字体文件
|
|
|
+ 'fontSize' => 16, //字号
|
|
|
+ 'fontColor' => '40,40,40', //字体颜色
|
|
|
'angle' => 0,
|
|
|
),
|
|
|
array(
|
|
|
- 'text' => '', // 空字符串,不显示邀请文案
|
|
|
- 'left' => 0,
|
|
|
- 'top' => 0,
|
|
|
- 'fontPath' => $rootPath . 'public' . DS . $filelink['Normal'],
|
|
|
- 'fontSize' => 1, // 极小字体,几乎不可见
|
|
|
- 'fontColor' => '255,255,255', // 白色文字,与背景融合
|
|
|
+// 'text' => '邀请您加入' . sys_config('site_name'),
|
|
|
+ 'text' => '',
|
|
|
+ 'left' => 250,
|
|
|
+ 'top' => 880,
|
|
|
+ 'fontPath' => $rootPath . 'public' . DS . $filelink['Normal'], //字体文件
|
|
|
+ 'fontSize' => 16, //字号
|
|
|
+ 'fontColor' => '40,40,40', //字体颜色
|
|
|
'angle' => 0,
|
|
|
)
|
|
|
),
|
|
|
@@ -345,6 +344,7 @@ class UserBillController
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
* 积分记录
|
|
|
* @param Request $request
|