|
|
@@ -201,9 +201,9 @@ class WxMessageClass extends BaseClass
|
|
|
if ($ptStyle == dict::getDict('ptStyle', 'ghs')) {
|
|
|
$openId = isset($admin['ghsOpenId']) ? $admin['ghsOpenId'] : '';
|
|
|
}
|
|
|
- $orderSn = $order->orderSn;
|
|
|
+ $orderSn = $shop->shopName ?? '总店';
|
|
|
if (isset($order->presell) && $order->presell == 1) {
|
|
|
- $orderSn = $orderSn . ' 预售单';
|
|
|
+ $title = '【预售】';
|
|
|
}
|
|
|
$data = [
|
|
|
"touser" => $openId,
|
|
|
@@ -217,7 +217,6 @@ class WxMessageClass extends BaseClass
|
|
|
"remark" => ["value" => "点击查看详情", "color" => "#173177"]
|
|
|
]
|
|
|
];
|
|
|
-
|
|
|
$data['miniprogram']['appid'] = $wx['miniAppId'];
|
|
|
$data['miniprogram']['pagepath'] = 'pagesOrder/detail?id=' . $orderId;
|
|
|
wxUtil::sendTaskInform($data, $wx, $ptStyle);
|