|
|
@@ -68,7 +68,7 @@ class NoticeController extends PublicController
|
|
|
//零售采购结账通知
|
|
|
if ($capitalType == dict::getDict('capitalType', 'xhPurchase', 'id')) {
|
|
|
$cg = PurchaseClass::getByCondition(['orderSn' => $orderSn], true);
|
|
|
- if (!empty($cg)) {
|
|
|
+ if (!empty($cg) && $cg->payStatus == 1) {
|
|
|
//微信通知
|
|
|
$saleId = $cg->saleId ?? 0;
|
|
|
$order = OrderClass::getById($saleId, true);
|