|
|
@@ -203,6 +203,18 @@ class WxMessageClass extends BaseClass
|
|
|
if (empty($adminList)) {
|
|
|
return false;
|
|
|
}
|
|
|
+
|
|
|
+ $needNotice = false;
|
|
|
+ if (getenv('YII_ENV') == 'production') {
|
|
|
+ if ($shop->mainId == 60) {
|
|
|
+ $needNotice = true;
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if ($shop->mainId == 644) {
|
|
|
+ $needNotice = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
foreach ($adminList as $admin) {
|
|
|
$openId = isset($admin['openId']) ? $admin['openId'] : '';
|
|
|
if ($ptStyle == dict::getDict('ptStyle', 'ghs')) {
|
|
|
@@ -224,6 +236,11 @@ class WxMessageClass extends BaseClass
|
|
|
$data['miniprogram']['appid'] = $wx['miniAppId'];
|
|
|
$data['miniprogram']['pagepath'] = 'pagesOrder/detail?id=' . $orderId;
|
|
|
wxUtil::sendTaskInform($data, $wx, $ptStyle);
|
|
|
+
|
|
|
+ $adminName = $admin['name'] ?? '';
|
|
|
+ if ($needNotice == true) {
|
|
|
+ noticeUtil::push("{$adminName} 已通知", '15280215347');
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|