|
|
@@ -41,19 +41,20 @@ class MainController extends BaseController
|
|
|
$flowerPage = 'pages/item/item';
|
|
|
$flowerImgUrl = miniUtil::generateUnlimitedMiniCode($merchant, $flowerPage, $scene, $ptStyle);
|
|
|
|
|
|
+
|
|
|
$prefix = imgUtil::getPrefix();
|
|
|
- $titleBase64 = stringUtil::ossBase64('');
|
|
|
+ //$titleBase64 = stringUtil::ossBase64('个人买花');
|
|
|
|
|
|
if ($pfShopId > 0) {
|
|
|
$goodsUrl = $prefix . 'shop/miniCodeBg.jpg?x-oss-process=image';
|
|
|
$goodsMiniCodeBase64 = stringUtil::ossBase64($goodsImgUrl);
|
|
|
$goodsUrl .= '/watermark,image_' . $goodsMiniCodeBase64 . ',g_north,x_0,y_40';
|
|
|
- $goodsUrl .= '/watermark,text_' . $titleBase64 . ',g_north,x_0,y_530,size_50';
|
|
|
+ //$goodsUrl .= '/watermark,text_' . $titleBase64 . ',g_north,x_0,y_530,size_50';
|
|
|
|
|
|
$flowerUrl = $prefix . 'shop/miniCodeBg.jpg?x-oss-process=image';
|
|
|
$flowerMiniCodeBase64 = stringUtil::ossBase64($flowerImgUrl);
|
|
|
$flowerUrl .= '/watermark,image_' . $flowerMiniCodeBase64 . ',g_north,x_0,y_40';
|
|
|
- $flowerUrl .= '/watermark,text_' . $titleBase64 . ',g_north,x_0,y_530,size_50';
|
|
|
+ //$flowerUrl .= '/watermark,text_' . $titleBase64 . ',g_north,x_0,y_530,size_50';
|
|
|
|
|
|
$respond = [
|
|
|
'imgUrl' => $goodsUrl,
|