|
|
@@ -403,6 +403,9 @@ class WxMessageClass extends BaseClass
|
|
|
//收款码收入通知 ssh 20210531
|
|
|
public static function gatheringIncomeInform($shop, $order)
|
|
|
{
|
|
|
+ if ($order->payStatus != 1) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
$ptStyle = $shop->ptStyle;
|
|
|
$wxBase = WxOpenClass::getWxBase();
|
|
|
$wx = $wxBase[$ptStyle] ?? [];
|
|
|
@@ -414,7 +417,8 @@ class WxMessageClass extends BaseClass
|
|
|
}
|
|
|
$actPrice = $order->actPrice;
|
|
|
$orderId = $order->id;
|
|
|
- $adminList = ShopAdminClass::getRemainAdmin($shop);
|
|
|
+ $currentStaffId = $order->shopAdminId ?? 0;
|
|
|
+ $adminList = ShopAdminClass::getRemainAdmin($shop, $currentStaffId);
|
|
|
if (empty($adminList)) {
|
|
|
return false;
|
|
|
}
|